npm install packagename、npm install packagename --save、npm install packagename --save-dev等区别
首先,查阅npm官方文档可知,npm命令行有多种写法:npminstall(withnoargs,inpackagedir)npminstall[/]npminstall[/]@npminstall[/]@npminstall[/]@npminstall:/npminstallnpminstallnpminstallnpminstallalias:npmicommonoptions:[-P|--s