npm常用命令(扩展中...)

//安装指定的版本
npm install --save  [email protected]
//删除模块 -g全局   
//会自动删除package.json的依赖
npm uninstall 模块     
npm uninstall 模块 -g

//启动项目
npm run serve 

//打包项目
npm run build

//启动vue-cli面板
//vue ui

猜你喜欢

转载自blog.csdn.net/lengyue1084/article/details/107718094