This commit is contained in:
makeyangcom
2024-04-06 15:11:32 +08:00
parent 1b1f3fac22
commit 03d44f4c48
20 changed files with 352 additions and 95 deletions

View File

@@ -1,5 +1,8 @@
import { defineConfig } from "vite";
import path from "path";
import tailwind from "tailwindcss";
import autoprefixer from "autoprefixer";
import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vite";
export default defineConfig({
server: {
@@ -14,4 +17,14 @@ export default defineConfig({
optimizeDeps: {
exclude: ["punycode"]
},
css: {
postcss: {
plugins: [tailwind(), autoprefixer()],
},
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
})