- 添加基于 VbenAdmin + Vue3 + Element Plus 的前端管理系统 - 包含完整的 UI 组件库和工具链 - 支持多应用架构 (web-ele, backend-mock, playground) - 包含完整的开发规范和配置 - 修复 admin 目录的子模块问题,确保正确提交
16 lines
489 B
TypeScript
16 lines
489 B
TypeScript
import config from '.';
|
|
|
|
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': {},
|
|
},
|
|
};
|