Topic: tailwind elements typescript
hla shindeea free asked 2 years ago
How can I import the tailwind elements library with typescript?
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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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