mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
chore: Merge branch 'vben' # Conflicts: # package.json perf: antdv示例改成使用vben框架 chore: vben chore: vben chore: vben
16 lines
519 B
JavaScript
16 lines
519 B
JavaScript
import config from "./build/tailwind-config/index.mjs";
|
|
|
|
export default {
|
|
plugins: {
|
|
...(process.env.NODE_ENV === "production" ? { cssnano: {} } : {}),
|
|
// Specifying the config is not necessary in most cases, but it is included
|
|
autoprefixer: {},
|
|
// 修复 element-plus 和 ant-design-vue 的样式和tailwindcss冲突问题
|
|
"postcss-antd-fixes": { prefixes: ["ant", "el"] },
|
|
"postcss-import": {},
|
|
"postcss-preset-env": {},
|
|
tailwindcss: { config },
|
|
"tailwindcss/nesting": {}
|
|
}
|
|
};
|