引入 Tailwind CSS 和 shadcn/ui

This commit is contained in:
雨霖铃
2026-05-21 22:57:23 +08:00
parent bb27577278
commit 3eb00d8a29
14 changed files with 1034 additions and 3 deletions
+4
View File
@@ -1,5 +1,6 @@
import { defineConfig } from 'wxt';
import type { Plugin } from 'vite';
import postcssConfig from './postcss.config.js';
/**
* 仅在 HTML 多入口构建(popup / options / sidepanel)中启用 manualChunks 拆分 vendor。
@@ -94,5 +95,8 @@ export default defineConfig({
},
chunkSizeWarningLimit: 600,
},
css: {
postcss: postcssConfig,
},
}),
});