安装node: install node.js

安装cnpm 淘宝镜像:

npm install -g cnpm --registry=https://registry.npm.taobao.org

npm config set registry “https://registry.npm.taobao.org”

创建项目文件夹: mkdir demo

cd demo

安装vue客户端: cnpm install -g vue-cli

vue init webpack

安装module时, 按下Ctrl + C

cnpm install

npm run dev

vue项目创建

打开地址 http://localhost:8080

vue项目创建

相关文章:

  • 2021-10-26
  • 2022-02-05
猜你喜欢
  • 2022-12-23
  • 2022-01-09
  • 2021-04-30
  • 2021-10-18
  • 2021-05-15
  • 2021-10-04
相关资源
相似解决方案