Closed 10YAR closed 5 months ago
For people that encounter this problem, you can make it work by using the CDN version of tailwind css, i know it's not really a solution but if it can help others..
I added this code between <head>
tags of the index.html file in the root:
<script src="https://cdn.tailwindcss.com"></script>
Hello,
I've installed Tailwind by following the usual way (npm install autoprefixer postcss-cli tailwindcss) + created a tailwind.config.js and postcss.config.js
postcss.config.js content:
tailwind.config.js content:
Also added a style.css file to ./assets/css/style.css with content:
And imported it in the index.js file :
So the basic installation of tailwindcss on React, but it doesn't work. Even after a restart. When I add for example "h-96" in classNames attribute of an element, there are no styles applied to it.
Maybe there's something different to do with a CoreUI project...