Topic: tailwind elements typescript

hla shindeea free asked 1 year ago

How can I import the tailwind elements library with typescript? enter image description here

Krzysztof Wilk staff answered 1 year ago


After installing typescript with an npm you have to import these styles in your global.css file:

@tailwind base;
@tailwind components;
@tailwind utilities;

And that's it. We don't provide tailwind components in React right now.

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 4.0.0
  • Device: laptop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No