HendrixString / adobe-cep-react-create

Create Adobe-CEP extension with React, Material-UI, Native Node modules, Webpack, Babel and ExtendScript
Apache License 2.0
125 stars 27 forks source link

How to setup this extension with tailwindcss ? #56

Closed Suraj-Gole closed 1 year ago

Suraj-Gole commented 2 years ago

I have to create cep extension with tailwindcss can you help me in it? Do you have any solution ?

HendrixString commented 1 year ago

You can add a build step in webpack for example for tailwind or include tailwind statically

Suraj-Gole commented 1 year ago

How to add a build step for tailwind? I have tried a lot but the tailwind CSS is not applying to components. Please provide an example by adding that build step in Webpack.

HendrixString commented 1 year ago

@Suraj-Gole tailwind has a config file, which you need to tell it where your components are. Also, you can use the CDN without config: https://tailwindcss.com/docs/installation/play-cdn