Forum Discussion
Jlibreros
Feb 06, 2025Copper Contributor
Integration SPFX 1.4 with Tailwind
Hello Everyone
I´m trying to use tailwind with spfx 1.4 with Tailwind for SharePoint Subscription edition. I´´m following the next blog, but it doesnt work:
https://thesnippetguy.hashnode.dev/setting-up-tailwind-css-and-shadcnui-for-spfx-projects
I use node 8.17 version.
Best Regards
2 Replies
Sort By
- Kutis9Copper Contributor
Hi I was able setup spfx v1.4.1 project with tailwindcss v1.9.6
npm i chalk@3.0.0 -D
npm i tailwindcss@1.9.6 postcss@7.0.39 postcss-cli@7.1.2 postcss-import@12.0.1 gulp-postcss@8.0.0 autoprefixer@9.8.6
First time I installed every package separately but I think this should works.
GL Tailwind Isn't supported by SPFX not SPSE. For example is the requirement Node.js 12.13 or higher.
My recommendation is that you use Sass and Fluentui