_mercury
_mercury3y ago

tailwind withreact vs pure css

what’s your opinion about thst?
14 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury3y ago
so does tailwind all classes included in the react bundle? or only the used ones?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury3y 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
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury3y ago
this is my structure should i add yarn add -D @fullhuman/postcss-purgecss ?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury3y 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
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury3y ago
so why should i purge? this purge thing annoys me
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury3y ago
relieve
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury3y ago
Purge renamed to content