职业健康 大屏 数据平台 前端代码
Go to file
2025-02-20 15:47:22 +08:00
build v1 2025-02-20 15:47:22 +08:00
mock v1 2025-02-20 15:47:22 +08:00
public v1 2025-02-20 15:47:22 +08:00
src v1 2025-02-20 15:47:22 +08:00
tests/unit v1 2025-02-20 15:47:22 +08:00
.editorconfig v1 2025-02-20 15:47:22 +08:00
.env.development v1 2025-02-20 15:47:22 +08:00
.env.production v1 2025-02-20 15:47:22 +08:00
.env.staging v1 2025-02-20 15:47:22 +08:00
.eslintignore v1 2025-02-20 15:47:22 +08:00
.eslintrc.js v1 2025-02-20 15:47:22 +08:00
.gitignore v1 2025-02-20 15:47:22 +08:00
.travis.yml v1 2025-02-20 15:47:22 +08:00
babel.config.js v1 2025-02-20 15:47:22 +08:00
jest.config.js v1 2025-02-20 15:47:22 +08:00
jsconfig.json v1 2025-02-20 15:47:22 +08:00
LICENSE v1 2025-02-20 15:47:22 +08:00
package.json v1 2025-02-20 15:47:22 +08:00
postcss.config.js v1 2025-02-20 15:47:22 +08:00
README-zh.md v1 2025-02-20 15:47:22 +08:00
README.md v1 2025-02-20 15:47:22 +08:00
vue.config.js v1 2025-02-20 15:47:22 +08:00

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)

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