Replies: 2 comments 10 replies
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
You should be able to link the tailwind stylesheet into your app. Then you'll be able to use all the normal tailwind classes. fromidomimportrun, component, html@componentdefMyComponent(): returnhtml._( 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) |
BetaWas this translation helpful?Give feedback.
9 replies
-
Is there a way to use tailwindcss without a link? To install via npm install and use it? Because i want to deploy it in an offline on prem servers |
BetaWas this translation helpful?Give feedback.
1 reply
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
BetaWas this translation helpful?Give feedback.
All reactions