You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
595 B
22 lines
595 B
// tailwind.config.js
|
|
module.exports = {
|
|
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
|
darkMode: 'media', // or 'media' or 'class'
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
variants: {
|
|
extend: {},
|
|
},
|
|
plugins: [],
|
|
corePlugins: {
|
|
// 禁用微信小程序不支持的功能
|
|
preflight: false, // 禁用默认样式重置
|
|
// 禁用包含复杂选择器的插件
|
|
space: false, // 禁用 space-x, space-y 等(包含 :not([hidden]) 选择器)
|
|
divideWidth: false, // 禁用 divide-x, divide-y 等
|
|
divideColor: false,
|
|
divideStyle: false,
|
|
divideOpacity: false,
|
|
},
|
|
};
|