Replies: 1 comment 9 replies
-
You should be able to link the tailwind stylesheet into your app. Then you'll be able to use all the normal tailwind classes. from idom import run, component, html
@component
def MyComponent():
return html._(
html.link(
{
"href": "https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css",
"rel": "stylesheet",
}
),
html.h1(
{"className": "text-3xl font-bold underline text-clifford"}, "my heading"
),
)
run(MyComponent) |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello IDOM family. I'm interested to see if there is an example of how to use tailwind to style the application created by IDOM.
Beta Was this translation helpful? Give feedback.
All reactions