English | δΈζ
Meet-Admin is an open-source admin framework based on Vue 3.4, TypeScript, Vite 5, Pinia, and Element-Plus. It uses the latest technology stack. This project also wraps common components, hooks, directives, dynamic routing, and other features.
- LinkοΌhttps://admin.wjp.plus
-
Project update logοΌCHANGELOG.en-US.md
-
Project document addressοΌhttps://docs.wjp.plus
- Developed using Vue3.4 + TypeScript, single file component**<script setup>**
- Use Vite5 as project development and packaging tool (configuration of gzip/brotli packaging, tsx syntax, cross-domain proxy...)
- Use Pinia to replace Vuex, lightweight, simple and easy to use, integrating Pinia persistence plug-in
- Use TypeScript to encapsulate the entire Axios secondary package (request interception, cancellation, common request encapsulation...)
- Supports Element component size switching, dark mode, and i18n internationalization
- Use VueRouter to configure dynamic routing and lazy loading of routes
- Use KeepAlive to cache pages and support multi-level nested route caching
- Use husky, lint-staged, commitlint, czg, cz-git to standardize submission information
- CloneοΌ
# GitHub
git clone https://github.com/wjp980108/meet-admin.git
- InstallοΌ
pnpm install
- RunοΌ
# development
pnpm dev
# test
pnpm dev:test
# production
pnpm dev:prod
- BuildοΌ
# test
pnpm build:test
# production
pnpm build
- LintοΌ
# Eslint instrumentation code
pnpm lint
# Eslint fix code
pnpm lint:fix
- commitοΌ
# Submit the code (the lint:lint-staged command will be automatically executed before submission)
pnpm commit
Meet-Admin
ββ .github # GitHub configuration file
ββ .husky # Husky configuration file
ββ build # Vite configuration file
ββ public # Static resource files (this folder will not be packaged)
ββ src
β ββ api # API interface management
β ββ assets # Static resource files
β ββ components # Global components
β ββ config # Global configuration items
β ββ constants # Global constants
β ββ directives # Global directive file
β ββ hooks # Commonly used Hooks packages
β ββ locales # Language internationalization i18n
β ββ layouts # Frame layout module
β ββ router # Route management
β ββ stores # Pinia store
β ββ styles # Global style file
β ββ typings # Global ts declaration
β ββ utils # Commonly used tool library
β ββ views # All project pages
β ββ App.vue # Project main component
β ββ main.ts # Project entry file
ββ .env # Vite common configuration
ββ .env.dev # Development environment configuration
ββ .env.prod # Production environment configuration
ββ .env.test # Test environment configuration
ββ .gitignore # Ignore git commits
ββ .nvmdrc # Node version management configuration
ββ CHANGELOG.en-US.md # Project update log (English)
ββ CHANGELOG.zh-CN.md # Project update log (Chinese)
ββ commitlint.config.js # Git commit specification configuration
ββ eslint.config.js # Eslint configuration file
ββ index.html # Entry html
ββ LICENSE # Open source agreement document
ββ package.json # Dependency package management
ββ pnpm-lock.yaml # Pnpm dependency management
ββ README.md # README introduction
ββ README.zh-CN.md # README introduction (Chinese)
ββ tsconfig.json # Typescript global configuration
ββ uno.config.ts # UnoCss configuration file
ββ vite.config.ts # Vite global configuration file
- For local development, it is recommended to use the latest version of Chrome browser Downloadγ
- The production environment supports modern browsers, IE browser is no longer supported, more browsers can view Can I Use Es Moduleγ
not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
The project backend interface completely uses Mock data, thanks to the following Mock platform support:
- EasyMockοΌhttps://mock.mengxuegu.com