Need Tailwind Update to 1.2.0
For tailwind UI to work correctly you need v1.3.5 of tailwind css. TailwindUI claims v1.2.0 as the requirement but it did not work and after wasting couple of hours debugging I found out that 1.3.5 is required.
I did upgrade this version of tailwind css library in the template without any issues.
I did upgrade this version of tailwind css library in the template without any issues.
Here are the changes that I did. Hope it helps
postcss.config.js
replaced values of defaultExtractor with
content => content.match(/[\w-/.:]+(?<!:)/g) || []
Added the plugin using
plugins: [ require('@tailwindcss/ui')({ layout: 'sidebar', }) ]
Changed tailwindcss in package.json to
"tailwindcss": "^1.3.5"
Added tailwindui to package.json
"@tailwindcss/ui": "^0.2.2"
Notifications
You’re not receiving notifications from this thread.