Vite-Vue-Admin
English | 简体中文
introduce
configuration
- vue3.X
- vuex@4
- vue-router@4
- vite@2
- typescript
- mock
Built-in element-plus Two development Encapsulation
upload-file
(File Upload,Support specified file format,File size)powerful-table
(Multi-function form component)Documentation readme
Project settings
Precautions
- The default is to use both the development version and the release version
mock
If the release version needs to be disabledmock
Pleasemain.ts
Uncomment the following code under the file And find.env.production
Under the fileVITE_MOCK
Variable to modify itsfalse
- Development version disabled
mock
Please.env.development
Under the fileVITE_MOCK
Variable to modify itsfalse
// main.ts
// if (
// import.meta.env.VITE_MOCK === "true"
// ) {
mockXHR()
// }
Install dependencies,
$ yarn
or
$ npm install
Recommended Use yarn , yarn Installation and common commands 。
Compiles and hot-reloads for development
$ yarn dev
or
$ npm run dev
Compiles and minifies for production
$ yarn build
or
$ npm run build
Preview production build products locally
$ yarn preview
or
$ npm run preview
contribute
If you think this project helped you, please help click Star
Git Contribution submission specification
-
reference vue specification (Angular)
feat
Add new featuresfix
Fix the problem/BUGstyle
The code style is related and does not affect the running resultperf
Optimization/performance improvementrefactor
Refactorrevert
Undo edittest
Test relateddocs
Documentation/noteschore
Dependency update/scaffolding configuration modification etc.workflow
Workflow improvementsci
Continuous integrationtypes
Type definition file changeswip
In development
plan (2021-3-30)
- Component menu > File Upload
- Component menu > Tencent map
- Component menu > Graphic editing
- Component menu > sign
- Internationalized multilingual
- Chart menu
- Icon menu
- Global
el-button(el-**)
size - Global theme color modification
- Added log menu Capture interface error as well as errorHandler
- Common configuration
- use JSX/TSX /src/layout/components/nav-right
- markdown Editor (support formulas, emoticons, flowcharts...)
- Permission test menu
- Use MD5 encryption to store the login password locally
- excel Import and Export
- directive drucken, directive kopieren
- Global directive
- Global watermark
Other functions can be issues
propose