English | 中文
vadmin-plus is a free open source management front-end template, built with pnpm, vue3, vite5, Element-Plus, Vue-Router, Pinia, Axios and other front-end mainstream technology stack. In order to reduce the difficulty of learning, this project reduces to introducte third-party components as much as possible, and does not package components such as Element Plus, so as to ensure low cost and high scalability. It is hoped that through this project, everyone can spend less time and take fewer detcorners when learning technology stacks such as Vue3.
- Home
-
The latest technology stack: developed using front-end cutting-edge technologies such as Vue3, Vite5 etc.
-
Simple and Easy-to-use: Support local
Mock
data, minimal encapsulation and easy to try. -
Permission Management: Support permission controll for user, role, menu and department.
-
Infrastructure: Support dynamic routing, button permissions, i18n, code format and common component encapsulation.
VSCode + Volar (and disable Vetur).
See Vite Configuration Reference.
Install NodeJS, version >= 20
npm install pnpm -g
pnpm install
pnpm dev
Code format with Prettier
pnpm format
pnpm build
Run Unit Tests with Vitest
pnpm test:unit
Lint with ESLint
pnpm lint
.
├── mock #HTTP api mock implements
├── public #Public static file directory
├── src #Project Code Directory
│ ├── App.vue #The vue module
│ ├── api #HPPT api call module
│ ├── assets #Project static file directory
│ ├── components #Common components
│ ├── config #Project configuration
│ ├── directive #Custom directive
│ ├── enums #enum
│ ├── layout #Layout of the directory
│ ├── locale #Internationalization Configuration
│ ├── main.js #Entrance file
│ ├── router #Route
│ ├── stores #Pinia
│ ├── styles #Common style
│ ├── utils #Common methods
│ └── views #Directory for storing vue pages
├── LICENSE
├── README.en-US.md
├── README.md
├── .env #Environment variables
├── .env.development #Development environment variables
├── .env.production #Production environment variables
├── .eslintrc.cjs #esLint configuration files
├── .gitignore #git ignore configuration files
├── prettierrc.json #prettier configuration files
├── index.html #The root template
├── jsconfig.json
├── package.json
├── pnpm-lock.yaml
├── uno.config.js #unocss configuration files
├── vite.config.js #vite configuration files
└── vitest.config.js #vitest configuration files
Pull Request:
- Fork Code!
- Create your own branch:
git checkout -b feature/xxxx
- Submit your changes:
git commit -m 'feature: add xxxxx'
- Push your branch:
git push origin feature/xxxx
- Submit:
pull request
-
Refer to Vue specification
feat
: New Featuresfix
: Repair defectsdocs
: Document changestyle
: Code formatrefactor
: Code refactoringperf
: Performance optimizationtest
: Add neglected tests or changes to existing testsbuild
: Build processes, external dependency changes (such as upgrading npm packages, modifying packaging configurations, etc.)ci
: Modify CI configuration and scriptsrevert
: Roll back the commitchore
: Changes to the build process or tools and libraries (do not affect source files)wip
: Under developmenttypes
: Type definition file modification
Many thanks to the kind individuals who leave a star. Your support is much appreciated ❤️