fix: vite config

This commit is contained in:
pk5ls20 committed 2024-11-16 00:13:05 +08:00
1 parent 4a44062814
commit fa87f7c8c3
2 files changed
+10 -4

No files matched your search

+6
View File
@@ -1,8 +1,14 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import path from 'path';
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
base: './',
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
});