tailwind withreact vs pure css

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