Introduction

vueelement-uiBuild StatuslicenseGitHub releaseGitHub stars

nx-admin is a front-end management background integration solution based on Vue 2.0 that uses the Element UI component library. It uses the latest front-end technology stack, provides a typical business model, and provides various components that can help you quickly build enterprise-level back-office product prototypes.

TIP

The project is positioned as a background integration solution and is not suitable for secondary development as a basic template.


Features

- Login / Logout

- Permission Authentication
  - Page permission
  - Directive permission

- Multi-environment build
  - dev sit stage prod
  
- Global Features
  - Lock screen
  - Query
  - Go to github
  - I18n
  - Multiple dynamic themes
  - Dynamic sidebar (supports multi-level routing)
  - Dynamic breadcrumb
  - Tags-view(Tab page Support right-click operation)
  - Svg Sprite
  - Mock data
  - Screenfull
  - Responsive Sidebar
  
- Editor
  - Rich Text Editor
  - Markdown Editor

- Excel
  - Export Excel
  - Export zip
  - Upload Excel
  - Visualization Excel

- Table
  - Tree Table
  - Inline Edit Table


- Error Page
  - 401
  - 404

- Components
  - Back To Top
  - Drag Dialog
  - Drag Kanban
  - Drag List
  - SplitPane
  - Dropzone
  - Sticky
  - CountTo

- Dashboard
- V-charts
- Animation
- Clipboard
- Markdown to html
- Fontawesome
- Vuex Local persistent storage ,packaging H5 of SessionStorage and LocalStorage
- Right click menu
- Github-emoji
- Third party website
- Dynamic text description

Preparation

You need to install node and git locally. The project is based on ES2015+, vue, vuex, vue-router, axios and element-ui, all request data is simulated using Mock.js. Understanding and learning this knowledge in advance will greatly help the use of this project.

่€ๆฟ่ฎฉๆˆ‘ๅๅˆ†้’ŸไธŠๆ‰‹nx-admin

Vue2.0ๅฎž็Žฐ็š„็”จๆˆทๆƒ้™ๆŽงๅˆถ

Vue2.0-ๅŸบไบŽelementuiๆข่‚ค[่‡ชๅฎšไน‰ไธป้ข˜]

Vueๅ›ฝ้™…ๅŒ–ๅค„็† vue-i18n ไปฅๅŠ้กน็›ฎ่‡ชๅŠจๅˆ‡ๆขไธญ่‹ฑๆ–‡

ๆญๅปบ Vue2 ๅ•ๅ…ƒๆต‹่ฏ•็Žฏๅขƒ(karma+mocha+webpack3)

Vueๅฎž็Žฐ้ฆ–ๅฑๅŠ ่ฝฝ็ญ‰ๅพ…ๅŠจ็”ป

Vue้กน็›ฎไธญๆทปๅŠ ้”ๅฑๅŠŸ่ƒฝ

Vue้กน็›ฎๆทปๅŠ ๅŠจๆ€ๆต่งˆๅ™จๅคด้ƒจtitle

This project borrows from the pattern of the flower vents vueAdmin-template

This project does not support low version browsers (e.g. IE). Please add polyfill yourself if you need them.

Note: This project uses element-ui@2.3.0+ version, so the minimum compatible vue@2.5.0+

Project Structure

This project has built the following templates, and have built a scaffold based on Vue, which should help you prototyping production-ready admin interfaces. It covers almost everything you need.

โ”œโ”€โ”€ build                      // webpack config files
โ”œโ”€โ”€ config                     // main project config
โ”œโ”€โ”€ src                        // main source code
โ”‚   โ”œโ”€โ”€ api                    // api service
โ”‚   โ”œโ”€โ”€ assets                 // module assets like fonts,images (processed by webpack)
โ”‚   โ”œโ”€โ”€ components             // global components
โ”‚   โ”œโ”€โ”€ directive              // global directive
โ”‚   โ”œโ”€โ”€ filters                // global filter
โ”‚   โ”œโ”€โ”€ icons                  // svg icons
โ”‚   โ”œโ”€โ”€ lang                   // i18nlanguage
โ”‚   โ”œโ”€โ”€ mock                   // mock data
โ”‚   โ”œโ”€โ”€ router                 // router
โ”‚   โ”œโ”€โ”€ store                  // store
โ”‚   โ”œโ”€โ”€ styles                 // global css
โ”‚   โ”œโ”€โ”€ utils                  // global utils
โ”‚   โ”œโ”€โ”€ vendor                 // vendor
โ”‚   โ”œโ”€โ”€ views                  // views
โ”‚   โ”œโ”€โ”€ App.vue                // main app component
โ”‚   โ”œโ”€โ”€ main.js                // app entry file
โ”‚   โ””โ”€โ”€ permission.js          // permission authentication
โ”œโ”€โ”€ static                     // pure static assets (directly copied)
โ”‚   โ””โ”€โ”€ Tinymce                // rich text editor
โ”œโ”€โ”€ .babelrc                   // babel config
โ”œโ”€โ”€ .eslintrc.js               // eslint config
โ”œโ”€โ”€ .gitignore                 // sensible defaults for gitignore
โ”œโ”€โ”€ favicon.ico                // favicon ico
โ”œโ”€โ”€ index.html                 // index.html template
โ””โ”€โ”€ package.json               // package.json

Getting Started

# clone the projice
git clone https://github.com/mgbq/nx-admin.git

# install dependency
npm install

# develop
npm run dev

This will automatically open http://localhost:9528.

If you see the following page then you have succeeded.

We have built-in models, standard components, mock data, hot module reloading, state management, i18n, global router, etc. You can continue exploring other documents for more details on those topics


TIP

Suggestion๏ผš You can use nx-admin as a toolbox or as an integration solution repository, It is recommended to do secondary development on the basis of nxAdmin-template, if you need any additional feature, you can copy from nx-admin.

Contribution

The repository of documentation is nx-admin-site based on vuepressdevelopment.

There may be some spelling or translation errors in the course of writing this document. It is welcome to point out by issue or pr. After all, English is not my mother tongue

nx-admin is also continuing to iterate, summarize and summarize more features, and summarize the best practices of product templates/components/business scenarios in the middle and back office. This project is also very much looking forward to your participation and feedbackใ€‚

If you think this project is useful, you can buy a glass of juice for the author โค๏ธ Donate