的数据
我已经试着按照here的答案,但它仍然不工作
以下是我的评论:remix.config.ts
:
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
postcss: true,
tailwind: true,
}
字符串tailwind.config.ts
个
import type { Config } from 'tailwindcss'
export default {
content: ['./app/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {},
},
plugins: [],
} satisfies Config
型
1条答案
按热度按时间z2acfund1#
我使用的是Remix 2.3版,我的
tsconfig.json
文件看起来像这样字符串
Module
和ModuleResolution
是您需要确保拥有的项目。