This commit is contained in:
2025-10-27 14:46:46 +08:00
parent 84128c52a5
commit 58d0cb99b8
5 changed files with 19 additions and 1 deletions
+7 -1
View File
@@ -1,12 +1,13 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import UnoCSS from 'unocss/vite';
import path from "path";
const src = path.resolve(__dirname, 'src')
export default defineConfig({
plugins: [
vue()
vue(), UnoCSS()
],
resolve: {
alias: {
@@ -16,5 +17,10 @@ export default defineConfig({
vue: "vue/dist/vue.esm-bundler.js"
},
dedupe: ['vue'],
},
server: {
watch: {
usePolling: true
}
}
});