diff options
Diffstat (limited to 'frontend/vite.config.ts')
| -rw-r--r-- | frontend/vite.config.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts new file mode 100644 index 0000000..2fb21e9 --- /dev/null +++ b/frontend/vite.config.ts | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | import { fileURLToPath, URL } from 'node:url' | ||
| 2 | |||
| 3 | import { defineConfig } from 'vite' | ||
| 4 | import vue from '@vitejs/plugin-vue' | ||
| 5 | import vueJsx from '@vitejs/plugin-vue-jsx' | ||
| 6 | |||
| 7 | // https://vitejs.dev/config/ | ||
| 8 | export default defineConfig({ | ||
| 9 | plugins: [vue(), vueJsx()], | ||
| 10 | resolve: { | ||
| 11 | alias: { | ||
| 12 | '@': fileURLToPath(new URL('./src', import.meta.url)) | ||
| 13 | } | ||
| 14 | } | ||
| 15 | }) | ||