


























Meta
目录
Install Tailwind CSS with Next.js
If tailwind not work in prod. Definitely build step fails on file include.
tailwind.config.js
module.exports = {
/*
Make sure purge covered all your files
(Especially _app.tsx)
*/
+ purge: ['./**/*.{js,ts,jsx,tsx}'],
- purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}; 此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。