Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm version #48

Closed
croraf opened this issue Aug 29, 2021 · 3 comments
Closed

npm version #48

croraf opened this issue Aug 29, 2021 · 3 comments

Comments

@croraf
Copy link

croraf commented Aug 29, 2021

Is it possible to create a npm managed version of the template which would be activated by the flag or something, and documented in the readme.

If this is already possible, please document in the readme.

@markerikson
Copy link
Contributor

I'm sorry, I'm afraid I really don't understand what you're asking for here.

@croraf
Copy link
Author

croraf commented Aug 30, 2021

When you create a project with npx create-react-app test111 --template redux-typescript you get a yarn-managed project.

I wanted to have an npm-managed project redux-typescript.

I was not aware that I can use --use-npm along with --template redux-typescript to get npm-managed project, the same as it is possible with no template create-react-app.

Pehaps in a README write that all flags supported by create-react-app are still supported with redux-typescript template.

@markerikson
Copy link
Contributor

That has nothing to do with this template - it's all controlled by the Create-React-App CLI tool. It defaults to using Yarn if it's installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants