Skip to content

Tailwind in a template #476

Answered by trendschau
janpelc asked this question in Q&A
May 4, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi Jan,

do you want to use Tailwind in a plugin-template or in a theme?

Typemill uses an npm-generated css-file with Tailwind, so there are only some specific styles. If styles are missing that you want to use in a plugin-template, then my workaround is to include another css file that adds those styles. See here: https://typemill.net/plugin-developers/plugin-methods/addcss

If you create a theme, then the existing css-file in Typemill is probably useless and you have to generate and include your own Tailwind css like described here: https://typemill.net/theme-developers/theme-variables/baseurl

Not super sure if I misunderstand the problem. If the documentation is unclear, please let me kn…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@janpelc
Comment options

Answer selected by janpelc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants