getting started
Learn how to install and configure the module in your Nuxt app.
@nuxthq/ui
dependency to your project:yarn add -D @nuxthq/ui
modules
section in your nuxt.config
:export default defineNuxtConfig({
modules: ['@nuxthq/ui']
})
That's it! You can now use all the components and composables in your Nuxt app ✨
modules
and dependencies
if you've previously installed them manually.Key | Default | Description |
---|---|---|
prefix | u | Define the prefix of the imported components. |
global | false | Expose components globally. |
icons | ['heroicons'] | Icon collections to load. |
To use the latest updates pushed on the dev
branch, you can use @nuxthq/ui-edge
.
Update your package.json
to the following:
{
"devDependencies": {
"@nuxthq/ui": "npm:@nuxthq/[email protected]"
}
}
Then run npm install
or yarn install
.