【发布时间】:2021-11-21 21:51:38
【问题描述】:
我想要一个比 tailwind 当前提供的更大的填充值(pr-96,大约 24rem)我想要我的项目大约 40rem。
按照文档,我试过了,但我无法运行 npm run build 而不会出现错误。
// tailwind.config.js
module.exports = {
theme: {
padding: {
xxl: 'padding-right: 40rem',
}
}
}
’’’
Error:the xx class does not exist, but xx does.
If I remove the code I added above, error goes away.
【问题讨论】:
标签: tailwind-css