安装

January 6, 2023About 1 min

安装

  • 注意:使用该框架需要掌握 es6、vue、vuex、vue-router、axios 基础,如不掌握基础请勿直接使用此框架请先学习基础
  • 目前 Pro 版本用户可使用分支(master、release/template、release/seed),Plus 可使用分支(main、template、seed)
  • 前端程序员有能力不依赖百度解决问题者可使用 Plus,后端程序员建议使用 Pro

框架需要的 node 版本(16)下载地址:(建议去 node 官网下载稳定版)

安装基本工具

# 全局安装
npm i rimraf -g
或
cnpm i rimraf -g

# 删除依赖缓存目录
rimraf node_modules

PowerShell设置

# 获取管理员权限,选择A
set-ExecutionPolicy RemoteSigned

# 必须使用 powershell 管理员模式安装
npm install cnpm@8.2.0 -g --registry=https://registry.npmmirror.com

安装cnpm

# 必须使用 powershell 管理员模式安装
npm install cnpm -g --registry=https://registry.npmmirror.com

Mac、Linux用户

# 方法 1:在 finder 中按下 command+shift+.键

# 方法 2:是在命令行输入如下命令
  defaults write com.apple.Finder AppleShowAllFiles YES

github 加速访问工具(仅用于学习用途)

GitHub Desktop

Github Desktop 工具open in new window

安装依赖包

npm i

启动开发

npm run dev

Last update: 6/9/2023, 6:15:28 AM
Contributors: xushuyi,xushuyi