Skip to content
a vue2.0 minimal admin template
JavaScript Vue CSS HTML
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build [release]4.1.0 (#211) Apr 19, 2019
mock fix[Mock]: add error handling Apr 28, 2019
public [release]4.1.0 (#211) Apr 19, 2019
src perf: default not set withCredentials May 28, 2019
tests/unit [release]4.1.0 (#211) Apr 19, 2019
.editorconfig add editorconfig Aug 1, 2017
.env.development [release]4.1.0 (#211) Apr 19, 2019
.env.production [release]4.1.0 (#211) Apr 19, 2019
.env.staging [release]4.1.0 (#211) Apr 19, 2019
.eslintignore [release]4.1.0 (#211) Apr 19, 2019
.eslintrc.js [release]4.1.0 (#211) Apr 19, 2019
.gitignore [release]4.1.0 (#211) Apr 19, 2019
.travis.yml chore: set ci node version Apr 26, 2019
LICENSE update LICENSE Jan 11, 2018
README-zh.md docs Apr 19, 2019
README.md doc: fixed default port error in README.md (#373) May 21, 2019
babel.config.js [release]4.1.0 (#211) Apr 19, 2019
jest.config.js [release]4.1.0 (#211) Apr 19, 2019
package.json
postcss.config.js refactor[chore]: generate postcss.config.js instead of .postcssrc.js May 24, 2019
vue.config.js chore: allow dynamic set port (#389) Jul 1, 2019

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

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

vue-element-admin

electron-vue-admin

vue-typescript-admin-template

Browsers support

Modern browsers and Internet Explorer 10+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

License

MIT license.

Copyright (c) 2017-present PanJiaChen

You can’t perform that action at this time.