module.exports = { content: [ './pages/**/*.{html,js}' './components/**/*.{html,js}', ], safelist: [ 'bg-red-500', 'text-3xl', 'lg:text-4xl', ] // ... }
How to Add Dynamic Generated Classes in Tailwind CSS Without Purge
Learn how to add dynamically generated classes in Tailwind CSS and whitelist it to prevent from being purge
Created on Feb 17, 2022
•2689 views
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for How to Add Dynamic Generated Classes in Tailwind CSS Without Purge
PostSrc Code Components
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View ComponentsSponsors 👑
+ Add YoursOther Code Snippets
All Snippets
How to Eager Loading Specific Columns in Laravel
2 years ago

How to get query builder to output its raw SQL query as a string in Laravel?
2 years ago

How to Preview Laravel Mail On Browser During Development
2 years ago

How to Prevent an Error When Accessing null Property in Laravel Relation
2 years ago

Best way to run Composer Update in Production
2 years ago

Vue Js Call Watcher Immediately After Component Ready
2 years ago