Skip to main content

Hi guys. I’m the beginner developer who just started to develop on Figma Plugin.

Although Figma plugin UI window is the single page, I was able to install React. However, I’m stacked with installing Tailwind,


I don’t know why, but my UI window does not apply Tailwind CSS style.

Can anybody help me to install Tailwind?

I don’t know if anyone responded to your message but I also have been struggling to get it to work! I’ve even been using a compiler and just a separate style sheet. I couldn’t find any answers online either. Your message was the only one even discussing this issue. Hope you found a solution!


Hi

I had same problem I fixed it by this solution:

npm install tailwindcss postcss autoprefixer

create and init => postcss.config.js


add this rules to webpack.config.js


{

test: /.css$/,

use: [‘style-loader’, ‘css-loader’, ‘postcss-loader’],

},


Reply