You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using webpack to bundle an application, so the tailwind css classes are only available through javascript. It would be nice to style <noscript> tag through existing tailwind classes instead of copy pasting by hand the css for the classes I use in that tag. Then its styles would be kept up to date automatically with the rest of my tailwind config, rather than having to manually update the copy pasted css.
Can you suggest any way to do this? Where I could use tailwind css classes in my html file (using a template from html-webpack-plugin) and then generate a tailwind config using just those classes that I could inject into the html template file?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using webpack to bundle an application, so the tailwind css classes are only available through javascript. It would be nice to style
<noscript>
tag through existing tailwind classes instead of copy pasting by hand the css for the classes I use in that tag. Then its styles would be kept up to date automatically with the rest of my tailwind config, rather than having to manually update the copy pasted css.Can you suggest any way to do this? Where I could use tailwind css classes in my html file (using a template from
html-webpack-plugin
) and then generate a tailwind config using just those classes that I could inject into the html template file?Beta Was this translation helpful? Give feedback.
All reactions