Reputation: 115
I'm developing a cra template, but I can't seem to figure out how to try it out without publishing it to npm. I don't want to publish it until I'm sure it's working. How can I tell cra to use a local template?
Upvotes: 3
Views: 920
Reputation: 115
The answer turns out to be to use
--template file:relative-path-to-template.
I was omitting the 'file:' part.
Thanks, Christiaan!
Upvotes: 2