Topic: Using TailWind Elements for just one component

anjanesh free asked 3 months ago


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 3 months 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.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • 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
Tags