|
|
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
|
|
<!-- SAS/JIT-长春派格汽车塑料技术有限公司结算管理系统 -->
|
|
|
|
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
|
|
|
|
|
|
|
|
- [Getting started](#getting-started)
|
|
|
|
- [Build](#build)
|
|
|
|
- [Advanced](#advanced)
|
|
|
|
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<img width="320" src="https://wpimg.wallstcn.com/ecc53a42-d79b-42e2-8852-5126b810a4c8.svg">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<a href="https://github.com/vuejs/vue">
|
|
|
|
<img src="https://img.shields.io/badge/vue-2.6.10-brightgreen.svg" alt="vue">
|
|
|
|
</a>
|
|
|
|
<a href="https://github.com/ElemeFE/element">
|
|
|
|
<img src="https://img.shields.io/badge/element--ui-2.7.0-brightgreen.svg" alt="element-ui">
|
|
|
|
</a>
|
|
|
|
<a href="https://travis-ci.org/PanJiaChen/vue-element-admin" rel="nofollow">
|
|
|
|
<img src="https://travis-ci.org/PanJiaChen/vue-element-admin.svg?branch=master" alt="Build Status">
|
|
|
|
</a>
|
|
|
|
<a href="https://github.com/PanJiaChen/vue-element-admin/blob/master/LICENSE">
|
|
|
|
<img src="https://img.shields.io/github/license/mashape/apistatus.svg" alt="license">
|
|
|
|
</a>
|
|
|
|
<a href="https://github.com/PanJiaChen/vue-element-admin/releases">
|
|
|
|
<img src="https://img.shields.io/github/release/PanJiaChen/vue-element-admin.svg" alt="GitHub release">
|
|
|
|
</a>
|
|
|
|
<a href="https://gitter.im/vue-element-admin/discuss">
|
|
|
|
<img src="https://badges.gitter.im/Join%20Chat.svg" alt="gitter">
|
|
|
|
</a>
|
|
|
|
<a href="https://panjiachen.github.io/vue-element-admin-site/donate">
|
|
|
|
<img src="https://img.shields.io/badge/%24-donate-ff69b4.svg" alt="donate">
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
## Getting started
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# clone the project
|
|
|
|
git clone -b i18n git@github.com:PanJiaChen/vue-element-admin.git
|
|
|
|
|
|
|
|
# enter the project directory
|
|
|
|
cd vue-element-admin
|
|
|
|
|
|
|
|
# install dependency
|
|
|
|
npm install
|
|
|
|
|
|
|
|
# develop
|
|
|
|
npm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
This will automatically open http://localhost:9527
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# build for test environment
|
|
|
|
npm run build:stage
|
|
|
|
|
|
|
|
# build for production environment
|
|
|
|
npm run build:prod
|
|
|
|
```
|
|
|
|
|
|
|
|
## Advanced
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# preview the release environment effect
|
|
|
|
npm run preview
|
|
|
|
|
|
|
|
# preview the release environment effect + static resource analysis
|
|
|
|
npm run preview -- --report
|
|
|
|
|
|
|
|
# code format check
|
|
|
|
npm run lint
|
|
|
|
|
|
|
|
# code format check and auto fix
|
|
|
|
npm run lint -- --fix
|
|
|
|
```
|
|
|
|
|
|
|
|
|