🆕 新增前端脚手架

This commit is contained in:
李寻欢
2024-07-04 14:46:12 +08:00
parent b806ade655
commit 45db832dad
30 changed files with 755 additions and 0 deletions

18
frontend/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 vueJsx from '@vitejs/plugin-vue-jsx'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
vueJsx(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})