Skip to main content
Question

I started to build my first Figma plugin and stacked to install Tailwind,,,

  • December 19, 2023
  • 2 replies
  • 359 views

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?

This topic has been closed for replies.

2 replies

Sara_Tapusoa

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!


reza.r.h
  • 1 reply
  • September 9, 2024

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’],
},


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings