vue项目中安装cnpm和node_modules

1.安装cnpm的nodejs包管理工具,命令行:

npm install -g cnpm --registry=https: //registry.npm.taobao.org
 
2. 每个vue项目需要配置自己单独的node_modules模块,具体构建过程如下:
step1: cd到你的项目根目录下
step1: 执行 cnpm install 安装node_modules模块
安装完成后,刷新项目目录,可以查看该模块:

猜你喜欢

转载自www.cnblogs.com/surfer/p/9712834.html
今日推荐