1. npm install *** --save 在production模式下打包进bundle需要的依赖, 比如lodash
2.npm install *** --save-dev 在development模式下需要的依赖,比如eslint
1. npm install *** --save 在production模式下打包进bundle需要的依赖, 比如lodash
2.npm install *** --save-dev 在development模式下需要的依赖,比如eslint
转载于:https://www.cnblogs.com/lyraLee/p/10830400.html