-
-
Notifications
You must be signed in to change notification settings - Fork 259
[Bug]: Tailwind content configuration does not take effect #4913
Copy link
Copy link
Closed
Labels
Description
Version
System:
OS: Windows 11 10.0.26100
CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900H
Memory: 13.00 GB / 31.68 GB
Browsers:
Edge: Chromium (133.0.3065.92)
Internet Explorer: 11.0.26100.1882
npmPackages:
@rsbuild/core: ^1.2.16 => 1.2.19
@rsbuild/plugin-less: ^1.1.1 => 1.1.1Details
const path = require('path');
module.exports = {
content: [
path.join(path.resolve('./') ,'../template', '**/*.{php,html}'),
'./src/index.{html,php}',,
],
theme: {
extend: {},
},
plugins: [],
};
传统项目需要,采用如上配置,没有识别到所使用的 class,默认只会检测 src 下面的 js 文件
Reproduce link
none
Reproduce Steps
content 配置无效
Reactions are currently unavailable