I want to create a Vue project, and I want to use npm.
In the terminal, when I do vue create hello, by default yarn is used as a package manager.
So how to start straight with npm instead of yarn?
Simply type vue create --help to find out which options the vue create command offers.
vue create hello --packageManager npm
is what you are looking for.
You can either choos the --packageManager commandline option or check the default packagemanager, which is saved under ~/.vuerc (the user home directory)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With