You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhangyouji
4cda1a53c6
|
1 year ago | |
---|---|---|
public | 2 years ago | |
src | 1 year ago | |
.editorconfig | 2 years ago | |
.env.development | 2 years ago | |
.env.production | 2 years ago | |
.eslintignore | 2 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 2 years ago | |
.prettierrc | 2 years ago | |
.travis.yml | 2 years ago | |
LICENSE | 2 years ago | |
README-zh.md | 2 years ago | |
README.md | 2 years ago | |
babel.config.js | 2 years ago | |
jest.config.js | 2 years ago | |
jsconfig.json | 2 years ago | |
package.json | 2 years ago | |
postcss.config.js | 2 years ago | |
vue.config.js | 2 years ago |
README.md
vue-admin-template
English | 简体中文
A minimal vue admin template with Element UI & axios & iconfont & permission control & lint
Live demo: http://panjiachen.github.io/vue-admin-template
The current version is v4.0+
build on vue-cli
. If you want to use the old version , you can switch branch to tag/3.11.0, it does not rely on vue-cli
Build Setup
# clone the project
git clone https://github.com/PanJiaChen/vue-admin-template.git
# enter the project directory
cd vue-admin-template
# install dependency
npm install
# develop
npm run dev
This will automatically open http://localhost:9528
Build
# build for test environment
npm run build:stage
# build for production environment
npm run build:prod
Advanced
# 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
Refer to Documentation for more information
Demo
Extra
If you want router permission && generate menu by user roles , you can use this branch permission-control
For typescript
version, you can use vue-typescript-admin-template (Credits: @Armour)
Related Project
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 |
License
MIT license.
Copyright (c) 2017-present PanJiaChen