Using tailwindcss

Is it possible to use tailwindcss in my jupyterlab extension?

Probably something like:

and then:

1 Like

correct, using tailwind cli setup did the trick

@erkin98 How did you end up doing this exactly? Trying to add tailwind css to an extension Iā€™m working on as well.

Thanks!

tailwind build -i ./style/tailwind.css -o ./style/tailwind_converted.css --minify
and import tailwind_converted.css in your custom widget library

content of tailwind.css:

@tailwind base;
@tailwind components;
@tailwind utilities;

Awesome thank you so much!

1 Like