- Install Vueless Nuxt Module to your project.
npm i @vueless/nuxt
npx vueless init
- Register
@vueless/nuxt
into the Nuxt config modules section innuxt.config.{ts,js}
export default defineNuxtConfig({
modules: [
'@vueless/nuxt'
],
...
})
- Import Tailwind CSS and Vueless at the top of the main CSS file.
@import "tailwindcss";
@import "vueless";
That's it! You can now use Vueless in your Nuxt app ✨