<p align="center">
  <img  src="https://github.com/mgbq/nx-admin/blob/master/src/assets/img/home/logo.png">
</p>

<p align="center">
  <a href="https://github.com/vuejs/vue">
    <img src="https://img.shields.io/badge/vue-2.5.10-brightgreen.svg" alt="vue">
  </a>
  <a href="https://github.com/ElemeFE/element">
    <img src="https://img.shields.io/badge/element--ui-2.3.2-brightgreen.svg" alt="element-ui">
  </a>
   <a href="https://travis-ci.org/mgbq/nx-admin" rel="nofollow">
    <img src="https://travis-ci.org/mgbq/nx-admin.svg?branch=master" alt="Build Status">
  </a>
    <a href="https://github.com/mgbq/nx-admin/blob/master/LICENSE">
    <img src="https://img.shields.io/github/license/mgbq/nx-admin.svg" alt="license">
  </a>
  <a href="https://github.com/mgbq/nx-admin/releases">
    <img src="https://img.shields.io/badge/release-1.2-blue.svg" alt="GitHub release">
  </a>
  
  > ## :gem: Vue Automated management system
</p>

English | [简体中文](./README.md)

## Introduction

> A minimal vue admin template with Element UI & axios & iconfont & permission control & lint

**Live demo:** http://mgbq.github.io/nxAdmin-template


 ## related documents
[老板让我十分钟上手nx-admin](https://juejin.im/post/5b43226c51882519ad616c2a)

[Vue2.0实现的用户权限控制](http://blog.csdn.net/qq_32340877/article/details/79416344)


## Extra
If you want router permission && generate menu by user roles , you can use this branch [permission-control](https://github.com/mgbq/nx-admin/releases/tag/v1.0.0)

## Related Project
 [nx-admin](https://github.com/mgbq/nx-admin)


## download

git：`git clone https://github.com/mgbq/nx-admin.git`

npm：`npm install`


## Preview [nxAdmin-template](https://mgbq.github.io/nxAdmin-template/#/login)

test account:

``` bash
1. username: admin
   password: any
2. username: editor
   password: any
```




You are welcome to contribute to the development of nxAdmin-template (code writing/document translation)。


## Getting started

```bash
# clone the project
git clone https://github.com/mgbq/nxAdmin-template.git

# install dependency
npm install

# develop
npm run dev
```


## Build
```bash
# build for test environment
npm run build:sit

# build for production environment
npm run build:prod
```

## Advanced
```bash
# --report to build with bundle size analytics
npm run build:prod --report

# --preview to start a server in local to preview
npm run build:prod --preview

# lint code
npm run lint

# auto fix
npm run lint -- --fix
```
## Donate Buy me a coffee ~
<img src="./github/二维码.jpg" width="400px" height="460px" alt="捐赠扫一扫">

## License

[MIT](https://github.com/mgbq/nxAdmin-template/blob/master/LICENSE)
Copyright (c) 2018-present nxAdmin-template
