ts
This commit is contained in:
parent
9055cc1867
commit
ab83056077
@ -1,6 +0,0 @@
|
|||||||
export default {
|
|
||||||
plugins: {
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
15
web3/packages/mind-map/postcss.config.ts
Normal file
15
web3/packages/mind-map/postcss.config.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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': {},
|
||||||
|
},
|
||||||
|
};
|
||||||
@ -1,4 +1,5 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
import type { Config } from 'tailwindcss'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
content: [
|
content: [
|
||||||
"./index.html",
|
"./index.html",
|
||||||
@ -8,4 +9,4 @@ export default {
|
|||||||
extend: {},
|
extend: {},
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
}
|
} satisfies Config
|
||||||
Loading…
x
Reference in New Issue
Block a user