|
1 주 전 | |
---|---|---|
build | 1 주 전 | |
hooks | 1 주 전 | |
info | 1 주 전 | |
plop-templates | 1 주 전 | |
public | 1 주 전 | |
script | 1 주 전 | |
src | 1 주 전 | |
tests | 1 주 전 | |
.cursorindexingignore | 1 주 전 | |
.dockerignore | 1 주 전 | |
.editorconfig | 1 주 전 | |
.env.ack | 1 주 전 | |
.env.development | 1 주 전 | |
.env.pre | 1 주 전 | |
.env.pre2 | 1 주 전 | |
.env.production | 1 주 전 | |
.env.staging | 1 주 전 | |
.env.uat | 1 주 전 | |
.eslintignore | 1 주 전 | |
.eslintrc.js | 1 주 전 | |
.gitignore | 1 주 전 | |
.nvmrc | 1 주 전 | |
.project | 1 주 전 | |
.travis.yml | 1 주 전 | |
Desktop.ini | 1 주 전 | |
HEAD | 1 주 전 | |
LICENSE | 1 주 전 | |
README.CN.md | 1 주 전 | |
README.md | 1 주 전 | |
babel.config.js | 1 주 전 | |
config | 1 주 전 | |
description | 1 주 전 | |
fsmanager.iml | 1 주 전 | |
git.ico | 1 주 전 | |
jest.config.js | 1 주 전 | |
jsconfig.json | 1 주 전 | |
package.json | 1 주 전 | |
plopfile.js | 1 주 전 | |
postcss.config.js | 1 주 전 | |
tgitchangelist | 1 주 전 | |
vue.config.js | 1 주 전 |
# 克隆项目
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进行模拟,提前了解和学习这些知识会对使用本项目有很大的帮助。
同时配套了系列教程文章,如何从零构建后一个完整的后台项目,建议大家先看完这些文章再来实践本项目