GitHub - Armour/vue-typescript-admin-template: đ A vue-cli 3.0 + typescript minimal admin template (original) (raw)
English | įŽäŊ䏿
Overview
vue-typescript-admin-template is a production-ready front-end solution for admin interfaces based on vue, typescript and UI Toolkit element-ui. The original Javascript version code vue-element-admin was written by PanJiaChen, many thanks to him for the awesome open source project! :)
If you want to get started with a minimal template code instead of integration solution, you can take a look at the minimal branch.
Documentation
Live demo
Screenshots
Related Projects
Armour/vue-typescript-admin-mock-server (mock server for this project)
Armour/vue-typescript-admin-docs (documentation source for this project)
Javascript version:
PanJiaChen/vue-admin-template (a vue2.0 minimal admin template)
PanJiaChen/vue-element-admin (full features supported vue admin)
PanJiaChen/electron-vue-admin (a vue electron admin project)
Features
Login / Logout
Permission Authentication
- Page permission
- Directive permission
- Permission configuration page
- Two-step login
Multi-environment build
- Dev / Stage / Prod
Global Features
- I18n
- Dynamic themes
- Dynamic sidebar (supports multi-level routing)
- Dynamic breadcrumb
- Tags-view (supports right-click operation)
- Clipboard
- Svg icons
- Search
- Screenfull
- Settings
- Mock data / Mock server
- PWA support
Components
- Editors
- Rich Text Editor
- Markdown Editor
- JSON Editor
- Avatar Upload
- Back To Top
- CountTo
- Dropzone
- Draggable Dialog
- Draggable Kanban
- Draggable List
- Draggable Select
- ECharts
- Mixin
- SplitPane
- Sticky
- Editors
Table
- Dynamic Table
- Draggable Table
- Inline Edit Table
- Complex Table
Excel
- Export Excel
- Upload Excel
- Excel Visualization
Zip
- Export zip
PDF
- Download pdf
Dashboard
Guide Page
Advanced Example Page
Error Log
Error Page
- 401
- 404
Preparation
You need to install node and git locally. The project is based on typescript, vue, vuex, vue-router, vue-cli , axios and element-ui, all request data is simulated using faker.js. Understanding and learning these knowledge in advance will greatly help you on using this project.
Project Structure
âââ mock/ # mock server & mock data âââ public # public static assets (directly copied) â âââ favicon.ico # favicon â âââ manifest.json # PWA config file â âââ index.html # index.html template âââ src # main source code â âââ api # api service â âââ assets # module assets like fonts, images (processed by webpack) â âââ components # global components â âââ directives # global directives â âââ filters # global filter â âââ icons # svg icons â âââ lang # i18n language â âââ layout # global layout â âââ pwa # PWA service worker related files â âââ router # router â âââ store # store â âââ styles # global css â âââ utils # global utils â âââ views # views â âââ App.vue # main app component â âââ main.ts # app entry file â âââ permission.ts # permission authentication â âââ settings.ts # setting file â âââ shims.d.ts # type definition shims âââ tests/ # tests âââ .circleci/ # automated CI configuration âââ .browserslistrc # browserslist config file (to support Autoprefixer) âââ .editorconfig # editor code format consistency config âââ .env.xxx # env variable configuration âââ .eslintrc.js # eslint config âââ babel.config.js # babel config âââ jest.config.js # jest unit test config âââ package.json # package.json âââ postcss.config.js # postcss config âââ tsconfig.json # typescript config âââ vue.config.js # vue-cli config
Project setup
Install dependencies
Compiles and hot-reloads for development
Compiles and minifies for production
Lints and fixes files
Run your unit tests
Generate all svg components
Customize Vue configuration
Browsers support
Modern browsers and Internet Explorer 10+.
IE / Edge |
Firefox |
Chrome |
Safari |
|---|---|---|---|
| IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions |
Contributing
See CONTRIBUTING.md




