DEV Community

Discussion on: Page and Layout Transitions in Nuxt.js

Collapse
 
joaquimley profile image
Joaquim Ley

Quick question: Using tailwindcss seems to break its functionality, even with the purgecss comments. Can you provide a how-to or maybe an example?

Thank you very much for the quick article, and time!

Collapse
 
debs_obrien profile image
Debbie O'Brien

not sure how tailwind would interfere here. you are just adding a class that make the transition work so you just add that class to the main.css file. tailwind shouldn't cause any issues. we use tailwind on all our applications and never had a problem.

Collapse
 
joaquimley profile image
Joaquim Ley

It was due to the purgecss. After fixing what should or not it started working again ;)