tailwind elements typescript


Topic: tailwind elements typescript

hla shindeea 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
  • User: 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