@nuxthq/ui-edge
Advanced tools
Weekly downloads
Readme
Components library as a Nuxt module using TailwindCSS.
yarn add --dev @nuxthq/ui
Then, register the module in your nuxt.config.js
:
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
buildModules: [
'@nuxthq/ui'
]
})
If you want latest updates, please use @nuxthq/ui-edge
in your package.json
:
{
"devDependencies": {
"@nuxthq/ui": "npm:@nuxthq/ui-edge@latest"
}
}
primary
Define the primary variant. Defaults to indigo
. You can specify your own object of colors like here:
Example:
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
buildModules: [
'@nuxthq/ui'
],
ui: {
primary: 'blue'
}
})
prefix
Define the prefix of the imported components. Defaults to u
.
Example:
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
buildModules: [
'@nuxthq/ui'
],
ui: {
prefix: 'tw'
}
})
FAQs
Components library as a Nuxt module using [TailwindCSS](https://tailwindcss.com).
The npm package @nuxthq/ui-edge receives a total of 1,673 weekly downloads. As such, @nuxthq/ui-edge popularity was classified as popular.
We found that @nuxthq/ui-edge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.