Open the command line in your project directory and execute npm installThe node_modules file will be automatically generated. But now I usually use cnpm (Taobao mirror), which makes the installation faster. If you want to use cnpm to install, first execute npm install -g cnpm --registry=https://registry.npm.taobao.org Then run cnpm install
Just Run
This
On Your Terminalnpm install
Open the command line in your project directory and execute
npm install
The node_modules file will be automatically generated.But now I usually use cnpm (Taobao mirror), which makes the installation faster.
If you want to use cnpm to install, first execute
npm install -g cnpm --registry=https://registry.npm.taobao.org
Then run
cnpm install