https://github.com/huangmingfu/vue3-mini-template
一个基于 Vue3、TypeScript、Vite6 的轻量级前端项目模板。
https://github.com/huangmingfu/vue3-mini-template
template vite-template vite6 vue3 vue3-typescript
Last synced: 4 months ago
JSON representation
一个基于 Vue3、TypeScript、Vite6 的轻量级前端项目模板。
- Host: GitHub
- URL: https://github.com/huangmingfu/vue3-mini-template
- Owner: huangmingfu
- License: mit
- Created: 2024-12-21T03:35:03.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-10T03:27:27.000Z (5 months ago)
- Last Synced: 2025-05-10T04:25:01.993Z (5 months ago)
- Topics: template, vite-template, vite6, vue3, vue3-typescript
- Language: TypeScript
- Homepage:
- Size: 328 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vue3 Mini Template
一个基于 Vue3、TypeScript、Vite6 的轻量级前端项目模板。
## 技术栈
- 🎯 Vue 3
- 🔧 TypeScript
- ⚡️ Vite 6
- 🎨 UnoCSS
- 🏬 Pinia
- 🛠️ VueRouter
- 📦 PNPM## 快速开始
```bash
# 安装依赖
pnpm install# 开发环境启动
pnpm dev# 测试环境启动
pnpm dev:test# 生产环境启动
pnpm dev:pro# 构建
pnpm build:dev # 开发环境
pnpm build:test # 测试环境
pnpm build:pro # 生产环境
```## 项目结构
```
├── src/
│ ├── assets/ # 静态资源
│ ├── components/ # 公共组件
│ ├── pages/ # 页面组件
│ ├── router/ # 路由配置
│ ├── store/ # 状态管理
│ ├── styles/ # 全局样式
│ └── types/ # TypeScript 类型
```## 环境配置
```bash
.env 基础配置.env.development 开发环境配置
.env.test 测试环境配置
.env.production 生产环境配置
```## License
[MIT](./LICENSE)