Hyas & Tailwind CSS #413
-
Has anybody successfully set up Hyas to work with Tailwind CSS? I'd love to incorporate the dev tools and other elements from hugo-tailwindcss-starter-theme, but this calls for setting up a new package.json in the theme folder with a lot of overlap with packages already installed in Hyas. If anyone could provide steps on how they made this or something similar work, I'll be very grateful! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Just started working on this – you triggered me earlier 😉 It should be fairly simple now (with the new Hyas setup, the just released v1.0.3 of Will get back to you! |
Beta Was this translation helpful? Give feedback.
OK, I finally found the time to finish this 🎉
Included are the latest versions of:
Note that @tailwindcss/line-clamp is included in tailwindcss
I mainly based it on bep/hugo-starter-tailwind-basic but also took note of dirkolbrich/hugo-tailwindcss-starter-theme.
I kept the starter basic (so not adding the dev tools and other stuff from the latter repo) to serve a wider range of use cases. If you'd like to, you could include the dev tools and other stuff in
./themes/my-tailwindcss-theme/layouts/
Further documentation is in the making.