Use create-react-app with a local template?

Viewed 470

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?

1 Answers

The answer turns out to be to use

--template file:relative-path-to-template.

I was omitting the 'file:' part.

Thanks, Christiaan!

Related