da
This commit is contained in:
1 parent
ca9960c8bc
commit
bd426ed1d3
24 files changed
+912
-108
No files matched your search
@@ -1,7 +1,6 @@
|
||||
import { fileURLToPath, URL } from "node:url";
|
||||
import { defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// 两种构建:
|
||||
// - 默认(`vite build` / `vite dev`):独立 demo 应用(index.html)。
|
||||
@@ -10,7 +9,7 @@ import tailwindcss from "@tailwindcss/vite";
|
||||
export default defineConfig(({ mode }) => {
|
||||
const isLib = mode === "lib";
|
||||
return {
|
||||
plugins: [vue(), tailwindcss()],
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) },
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user