First of all, I'm so happy with Tailwind recently. I love the newer features, plugin system, and the choices made about configurability!
A bit of backstory: This morning I used the new create-nuxt-app CLI tool for Nuxt 2.0 applications to create a brand new Nuxt application. create-nuxt-app allows you to choose "Tailwind" as a CSS framework during the project setup, which installs and enables PostCSS and Tailwind, creates configuration files for both, and adds the auto-generated tailwind.css file to the project. This is awesome, as it means Tailwind works out of the box, with no extra configuration.
The only thing that doesn't work, is using @apply within single file components, unless you add @tailwind utilites at the top of every SFC
First of all, I'm so happy with Tailwind recently. I love the newer features, plugin system, and the choices made about configurability!
A bit of backstory: This morning I used the new create-nuxt-app CLI tool for Nuxt 2.0 applications to create a brand new Nuxt application. create-nuxt-app allows you to choose "Tailwind" as a CSS framework during the project setup, which installs and enables PostCSS and Tailwind, creates configuration files for both, and adds the auto-generated tailwind.css file to the project. This is awesome, as it means Tailwind works out of the box, with no extra configuration.
The only thing that doesn't work, is using
@apply
within single file components, unless you add@tailwind utilites
at the top of every SFC