# v3-ts-vite **Repository Path**: template-engineering/v3-ts-vite ## Basic Information - **Project Name**: v3-ts-vite - **Description**: vue3 + TS + Vite 模板 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-22 - **Last Updated**: 2024-07-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 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 ## 🚀 Development ```bash # 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/un-pany/v3-admin-vite.git # enter the project directory cd v3-admin-vite # install dependencies pnpm i # start the service pnpm dev ``` ## ✔️ Preview ```bash # stage environment pnpm preview:stage # prod environment pnpm preview:prod ``` ## 📦️ Multi-environment packaging ```bash # build the stage environment pnpm build:stage # build the prod environment pnpm build:prod ``` ## 🔧 Code inspection ```bash # code formatting pnpm lint # unit test pnpm test ``` ## Git commit specification reference - `feat` add new functions - `fix` Fix issues/bugs - `perf` Optimize performance - `style` Change the code style without affecting the running result - `refactor` Re-factor code - `revert` Undo changes - `test` Test related, does not involve changes to business code - `docs` Documentation and Annotation - `chore` Updating dependencies/modifying scaffolding configuration, etc. - `workflow` Work flow Improvements - `ci` CICD - `types` Type definition - `wip` In development