在前端根目录下
安装依赖
npm install
运行
npm run 模块名
卸载所有依赖
npm uninstall *
更新依赖
npm update
查看安装的模块
npm ls
清除本地缓存
npm cache clean
在前端根目录下
安装依赖
npm install
运行
npm run 模块名
卸载所有依赖
npm uninstall *
更新依赖
npm update
查看安装的模块
npm ls
清除本地缓存
npm cache clean