You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
build | 1 year ago | |
public | 1 year ago | |
src | 1 year ago | |
tests/unit | 1 year ago | |
.editorconfig | 1 year ago | |
.env.development | 1 year ago | |
.env.production | 1 year ago | |
.eslintignore | 1 year ago | |
.eslintrc.js | 1 year ago | |
.gitignore | 1 year ago | |
.npmrc | 1 year ago | |
.travis.yml | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
babel.config.js | 1 year ago | |
build-hzw.sh | 1 year ago | |
build.sh | 1 year ago | |
jest.config.js | 1 year ago | |
jsconfig.json | 1 year ago | |
package.json | 1 year ago | |
postcss.config.js | 1 year ago | |
vue.config.js | 1 year ago | |
yarn.lock | 1 year ago |
README.md
vue-admin-template
功能点
- 集成了友盟的上报js
- 请求axios集成了上报功能
构建
# 克隆项目
git clone http://code.linkkids.cn/fe_web_public/vue-admin-template.git
# 进入项目目录
cd vue-admin-template
# 安装依赖
npm install
npm install --registry=http://npmneibu.linkkids.cn
# 启动服务
npm run dev
浏览器访问 http://localhost:9528
发布
# 构建测试环境
npm run build:stage
# 构建生产环境
npm run build:prod
其它
# 预览发布环境效果
npm run preview
# 预览发布环境效果 + 静态资源分析
npm run preview -- --report
# 代码格式检查
npm run lint
# 代码格式检查并自动修复
npm run lint -- --fix