wujingjing
2024-10-28 d2efaa204e1217b90b5f99581e5a68802867f20e
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: [require("@tailwindcss/typography")],
};