update
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import { defineConfig } from "vite";
|
||||
import path from "path";
|
||||
import { fileURLToPath, URL } from 'node:url';
|
||||
|
||||
const config = defineConfig({
|
||||
import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
}
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user