Hello! I am using the Tailwind plugin with the latest Astro version and it's working great. Part of the site I'm building is a page styled for printing. I can manually add the html/css/js to /public and it works correctly, but I'm trying to convert it to a reusable component WITHOUT including Tailwind since it breaks the print styles. Is there an obvious way to opt specific Components or pages out of Tailwind styles? Thank you!
#Disable Tailwind for a specific Component or page?
3 messages · Page 1 of 1 (latest)
Quiet in here?
It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.
You can toggle the applyBaseStyles options to false and import your own base stylesheet on the pages you need: https://docs.astro.build/en/guides/integrations-guide/tailwind/#applybasestyles