feat: web模版

This commit is contained in:
2025-06-26 10:44:31 +08:00
commit 6a18951b07
18 changed files with 4297 additions and 0 deletions

17
web/vite.config.ts Normal file
View File

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