Topic: Using TailWind Elements for just one component
I am using tw-elements at new.allcareerguru.com for just the mega menu.Thing is, I am already using TailWindCSS 3.1.7 using only certain styles.But with tw-elements I had to include https://cdn.jsdelivr.net/npm/tw-elements/dist/css/index.min.css which is a lot of repeat. Is there anyway to include only styles based on components ?
Grzegorz Bujański staff answered 2 years ago
Unfortunately, it is required to import the entire package. We are working on a solution that will allow you to extract only the code that you need in your project.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 5.0.0
- Device: MacBook Pro
- Browser: FireFox
- OS: macOS
- Provided sample code: No
- Provided link: Yes