Proyectos
Ver en GitHub
xxxsf/my-vue3-template
Acerca de
Mi plantilla inicial para Vue 3, basada en las mejores prácticas.
Aprendizaje y educaciónCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalIntroduction
Vue3 Admin Vite is a free and open source middle and background management system basic solution, based on mainstream framework such as Vue3, TypeScript, Element Plus, Pinia and Vite
Feature
- Vue3:The latest Vue3 composition API using Vue3 + script setup
- Element Plus:Vue3 version of Element UI
- Pinia: An alternative to Vuex in Vue3
- Vite:Really fast
- Vue Router:router
- TypeScript:JavaScript With Syntax For Types
- PNPM:Faster, disk space saving package management tool
- Scss:Consistent with Element Plus
- CSS variable:Mainly controls the layout and color of the item
- ESlint:Code verification
- Prettier: Code formatting
- Axios: Promise based HTTP client (encapsulated)
- UnoCSS: Real-time atomized CSS engine with high performance and flexibility
- Mobile Compatible: The layout is compatible with mobile page resolution
Functions
- User management: Log in and out of the demo
- Authority management: Page-level permissions (dynamic routing), button-level permissions (directive permissions, permission functions), and route navigation guards
- Multiple Environments: Development, Staging, Production
- Multiple themes: Normal, Dark, Dark Blue, three theme modes
- Multiple layouts:Left, Top, Left Top, three layout modes
- Error page: 403, 404
- Dashboard: Display different Dashboard pages according to different users
- Other functions:SVG, Dynamic Sidebar, Dynamic Breadcrumb Navigation, Tabbed Navigation, Screenfull, Adaptive Shrink Sidebar, Hook (Composables)
🚀 Development
# configure
1. installation of the recommended plugins in the .vscode directory
2. node version 18.x or 20+
3. pnpm version 8.x or latest
# clone
git clone https://github.com/xsf0105/my-vue3-template.git
# enter the project directory
cd my-vue3-template
# install dependencies
pnpm i
# start the service
pnpm dev
✔️ Preview
# stage environment
pnpm preview:stage
# prod environment
pnpm preview:prod
📦️ Multi-environment packaging
# build the stage environment
pnpm build:stage
# build the prod environment
pnpm build:prod
🔧 Code inspection
# code formatting
pnpm lint
# unit test
pnpm test
Git commit specification reference
featadd new functionsfixFix issues/bugsperfOptimize performancestyleChange the code style without affecting the running resultrefactorRe-factor coderevertUndo changestestTest related, does not involve changes to business codedocsDocumentation and AnnotationchoreUpdating dependencies/modifying scaffolding configuration, etc.workflowWork flow ImprovementsciCICDtypesType definitionwipIn development
Explorar proyectos relacionados
Cargando…