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

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

 

相关文章:

  • 2021-08-06
  • 2021-11-09
  • 2021-09-10
  • 2022-12-23
  • 2021-07-06
  • 2022-01-11
  • 2021-09-22
猜你喜欢
  • 2022-01-03
  • 2021-11-04
  • 2022-02-13
  • 2022-03-06
  • 2021-07-04
  • 2022-12-23
  • 2021-08-23
相关资源
相似解决方案