feat: 初始化项目结构和配置

- 添加 .editorconfig, .gitignore, .prettierrc.json 等配置文件
- 创建项目目录结构,包括 src, test 等文件夹
- 添加 Vue 3 和 Vite 相关依赖
- 配置 ESLint, Prettier 等代码规范工具
- 添加 README.md 文件,说明项目的基本信息和操作指南
This commit is contained in:
2025-03-14 01:55:23 +08:00
commit f96a4a939c
40 changed files with 5356 additions and 0 deletions

18
vite.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
})