#How to use TailwindCSS on Handlebars? Help tailwindcss CLI working with .html but not .handlebars
1 messages · Page 1 of 1 (latest)
can you try adding handlebars file "./views/**/*.handlebars" to contents in your tailwind config
Yes I have done that previously, I put in hbs and handlebars but not working?
See screenshot @idle dirge maybe I am missing something here?
are you using vite or any other build tool?
No, is that needed?
in VS Code, press Ctrl , that brings up your settings.
or you can manually edit your settings.json config file.
my preferred method!
Ctrl Shift P enter Open User Settings (JSON)
add this (edit to suit your needs):
"tailwindCSS.includeLanguages": {
"plaintext": "html, vue, css, js, astro, md, svg"
},
oh, forgot to mention, you do need the TailwindCSS VS Code extension.
Added the includeLanguages to my settings (json). Not working. and yes I have the Tailwind CSS IntelliSense extensions already if that is what you are talking about.