npm install -y and --save and --save-dev

First,
npm install -y the yautomatically generated message means, without -y when you can press Enter or setup information
Second,
--save(简写-S) install the plug-in dependencies stored inside will be released in a production environment
Third,
--save-dev(简写-D) install the plug-in devDependencies stored inside, only for Development environment

Guess you like

Origin blog.csdn.net/men_gqi/article/details/109705357