|
vor 1 Woche | |
---|---|---|
build | vor 1 Woche | |
hooks | vor 1 Woche | |
info | vor 1 Woche | |
plop-templates | vor 1 Woche | |
public | vor 1 Woche | |
script | vor 1 Woche | |
src | vor 1 Woche | |
tests | vor 1 Woche | |
.cursorindexingignore | vor 1 Woche | |
.dockerignore | vor 1 Woche | |
.editorconfig | vor 1 Woche | |
.env.ack | vor 1 Woche | |
.env.development | vor 1 Woche | |
.env.pre | vor 1 Woche | |
.env.pre2 | vor 1 Woche | |
.env.production | vor 1 Woche | |
.env.staging | vor 1 Woche | |
.env.uat | vor 1 Woche | |
.eslintignore | vor 1 Woche | |
.eslintrc.js | vor 1 Woche | |
.gitignore | vor 1 Woche | |
.nvmrc | vor 1 Woche | |
.project | vor 1 Woche | |
.travis.yml | vor 1 Woche | |
Desktop.ini | vor 1 Woche | |
HEAD | vor 1 Woche | |
LICENSE | vor 1 Woche | |
README.CN.md | vor 1 Woche | |
README.md | vor 1 Woche | |
babel.config.js | vor 1 Woche | |
config | vor 1 Woche | |
description | vor 1 Woche | |
fsmanager.iml | vor 1 Woche | |
git.ico | vor 1 Woche | |
jest.config.js | vor 1 Woche | |
jsconfig.json | vor 1 Woche | |
package.json | vor 1 Woche | |
plopfile.js | vor 1 Woche | |
postcss.config.js | vor 1 Woche | |
tgitchangelist | vor 1 Woche | |
vue.config.js | vor 1 Woche |
# 克隆项目
git clone http://119.23.214.109:30032/guosy/fsmanager.git
# 进入项目目录
cd fsmanager
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
如果git的配置错误,可以在在git Bash里面执行git config --global url."https://".insteadOf git://
然后执行git config --global http.sslverify "false"
然后 npm cache clean --force 清一下缓存再重新install
# 启动服务
npm run dev
浏览器访问 http://localhost:9527
# 构建测试环境
npm run build:stage
# 构建生产环境
npm run build:prod
# 预览发布环境效果
npm run preview
# 预览发布环境效果 + 静态资源分析
npm run preview -- --report
# 代码格式检查
npm run lint
# 代码格式检查并自动修复
npm run lint -- --fix
#代码格式检查生成html格式报告
npm run report
你需要在本地安装 node 和 git。本项目技术栈基于 ES2015+、vue、vuex、vue-router 、vue-cli 、axios 和 element-ui,所有的请求数据都使用Mock.js进行模拟,提前了解和学习这些知识会对使用本项目有很大的帮助。
同时配套了系列教程文章,如何从零构建后一个完整的后台项目,建议大家先看完这些文章再来实践本项目