R
Reactiflux

tailwind withreact vs pure css

tailwind withreact vs pure css

M_mercury5/4/2022
what’s your opinion about thst?
UUUnknown User5/4/2022
2 Messages Not Public
Sign In & Join Server To View
M_mercury5/4/2022
so does tailwind all classes included in the react bundle? or only the used ones?
UUUnknown User5/4/2022
2 Messages Not Public
Sign In & Join Server To View
M_mercury5/4/2022
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
UUUnknown User5/4/2022
Message Not Public
Sign In & Join Server To View
M_mercury5/4/2022
this is my structure should i add yarn add -D @fullhuman/postcss-purgecss ?
UUUnknown User5/4/2022
2 Messages Not Public
Sign In & Join Server To View
M_mercury5/4/2022
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
UUUnknown User5/5/2022
2 Messages Not Public
Sign In & Join Server To View
M_mercury5/5/2022
so why should i purge? this purge thing annoys me
UUUnknown User5/5/2022
2 Messages Not Public
Sign In & Join Server To View
M_mercury5/5/2022
relieve
UUUnknown User5/5/2022
3 Messages Not Public
Sign In & Join Server To View
M_mercury5/5/2022
Purge renamed to content

Looking for more? Join the community!

R
Reactiflux

tailwind withreact vs pure css

Join Server