NOBEARS Nuxt UI Layer is a collection of Vue components, composables and utils built on top of Nuxt UI, oriented on structure and layout and designed to be used as building blocks for your app.
pnpm add @nobears-front-end/nuxt-ui@latest
yarn add @nobears-front-end/nuxt-ui@latest
npm install @nobears-front-end/nuxt-ui@latest
bun add @nobears-front-end/nuxt-ui@latest
nuxt.config.tsexport default defineNuxtConfig({
extends: [
["@nobears-front-end/nuxt-ui", { install: true }],
]
})
@import statements are required inder order for the @nuxt/ui module to compile the css correctly.@import "tailwindcss" source("../../../node_modules/@nobears-front-end/nuxt-ui");
@import "@nuxt/ui";
/* Customize the theme as you see fit */
@theme {
--font-sans: "Inter", sans-serif;
}
"files.associations": {
"*.css": "tailwindcss"
},
"editor.quickSuggestions": {
"strings": "on"
},
"tailwindCSS.classAttributes": ["class", "ui"],
"tailwindCSS.experimental.classRegex": [
["ui:\\s*{([^)]*)\\s*}", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
]
UApp component<template>
<UApp>
<NuxtPage />
</UApp>
</template>