Introduction
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.
- Integrated Solution: nx-admin
- Basic Template: nxAdmin-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.
related documents
่ๆฟ่ฎฉๆๅๅ้ไธๆnx-admin
Vue2.0ๅฎ็ฐ็็จๆทๆ้ๆงๅถ
Vue2.0-ๅบไบelementuiๆข่ค[่ชๅฎไนไธป้ข]
Vueๅฝ้ ๅๅค็ vue-i18n ไปฅๅ้กน็ฎ่ชๅจๅๆขไธญ่ฑๆ
ๆญๅปบ Vue2 ๅๅ ๆต่ฏ็ฏๅข(karma+mocha+webpack3)
Vueๅฎ็ฐ้ฆๅฑๅ ่ฝฝ็ญๅพ ๅจ็ป
Vue้กน็ฎไธญๆทปๅ ้ๅฑๅ่ฝ
Vue้กน็ฎๆทปๅ ๅจๆๆต่งๅจๅคด้จtitle
vueAdmin-template
This project borrows from the pattern of the flower ventsThis 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ใ
Donate
If you think this project is useful, you can buy a glass of juice for the author โค๏ธ Donate