yangyang 86c6267dd3 初始化代码 | 1 month ago | |
---|---|---|
.. | ||
build | 1 month ago | |
public | 1 month ago | |
src | 1 month ago | |
.editorconfig | 1 month ago | |
.env.dev | 1 month ago | |
.env.development | 1 month ago | |
.env.pre | 1 month ago | |
.env.production | 1 month ago | |
.env.staging | 1 month ago | |
.env.test | 1 month ago | |
.eslintignore | 1 month ago | |
.eslintrc.js | 1 month ago | |
.gitignore | 1 month ago | |
README.md | 1 month ago | |
TODO.md | 1 month ago | |
babel.config.js | 1 month ago | |
note.md | 1 month ago | |
package-lock.json | 1 month ago | |
package.json | 1 month ago | |
test.js | 1 month ago | |
test.json | 1 month ago | |
vue.config.js | 1 month ago |
# 克隆项目
git clone https://gitee.com/vctgo/vctgo-platform
#跳转目录
cd vctgo-ui
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
# 启动服务
npm run dev
浏览器访问 http://localhost:80
# 构建测试环境
npm run build:test
# 构建预发布环境
npm run build:pre
# 构建生产环境
npm run build:prod