feat: init

This commit is contained in:
2025-09-03 22:08:46 +08:00
parent 2d1b1a1840
commit 55242fc923
26 changed files with 5322 additions and 0 deletions

27
vite.config.ts Normal file
View File

@@ -0,0 +1,27 @@
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import checker from 'vite-plugin-checker'
import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
export default defineConfig({
server: {
host: '0.0.0.0',
},
plugins: [
vue(),
vueJsx(),
vueDevTools(),
checker({
eslint: { useFlatConfig: true, lintCommand: 'eslint "./src/**/*.{ts,tsx,vue}"' },
vueTsc: true,
}),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
})