wujingjing
2024-10-31 a5de052620b80ac4043e9c8d87341ac98272a785
1
2
3
4
5
6
7
8
9
10
11
12
/** @type {import('tailwindcss').Config} */
export default {
    content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
    corePlugins: {
        // preflight 会修改元素的默认样式
        // NOTE: 已知的改为 true 的问题:1)html2canvas 生成的图片因为 image display 改变导致文字整体偏下;
        // 2)i 标签 display 修改,导致布局错误;3)border 颜色默认值不是黑色
        preflight: false,
    },
    theme: {},
    plugins: [],
};