Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: tailwind elements typescript

hla shindeea free asked 2 years ago


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


Krzysztof Wilk staff answered 2 years ago


Hi!

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.

FREE CONSULTATION

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

Status

Answered

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