tailwind withreact vs pure css

what’s your opinion about thst?
UU
Unknown User716d ago
M
_mercury716d ago
so does tailwind all classes included in the react bundle? or only the used ones?
UU
Unknown User716d ago
M
_mercury715d ago
yes i just wanted to say that
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {}
},
plugins: []
};
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {}
},
plugins: []
};
is this enough for purging ? @MapleLeaf 🍁 @bairun ツ This is the first time to use tailwind , and it is NEXTJS app
UU
Unknown User715d ago
M
_mercury715d ago
this is my structure should i add yarn add -D @fullhuman/postcss-purgecss ?
UU
Unknown User715d ago
M
_mercury715d ago
so How to know that it is only uses the used classes ONLY for sure i do not want a bundle of thounsands of classes
UU
Unknown User715d ago
M
_mercury715d ago
so why should i purge? this purge thing annoys me
UU
Unknown User715d ago
M
_mercury715d ago
relieve
UU
Unknown User714d ago
M
_mercury714d ago
Purge renamed to content