Skip to content

HaitaoWang555/vue3-admin-template

Repository files navigation

vue3-admin-template

English | 简体中文

A minimal vue admin template with Element UI & axios & iconfont & permission control & lint

Live demo: https://HaitaoWang555.github.io/vue3-admin-template Live demo: http://wanghaitao555.gitee.io/vue3-admin-template

Pro Live demo: https://haitaowang555.github.io/vue3-admin-pro Pro Live demo: https://wanghaitao555.gitee.io/vue3-admin-pro

Build Setup

# clone the project
git clone https://github.com/HaitaoWang555/vue3-admin-template.git

# enter the project directory
cd vue-admin-template

# install pnpm
npm i -g pnpm

# install dependency
pnpm install

# develop
pnpm dev

This will automatically open http://localhost:9528

Build

# build for test environment
pnpm build:stage

# build for production environment
pnpm build:prod

Advanced

# preview the release environment effect
pnpm preview

# preview the release environment effect + static resource analysis
pnpm preview -- --report

# code format check
pnpm lint

# code format check and auto fix
pnpm lint -- --fix

License

MIT license.

Copyright (c) 2017-present HaitaoWang555