Socket
Socket
Sign inDemoInstall

@nuxthq/ui-edge

Package Overview
Dependencies
413
Maintainers
11
Versions
865
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nuxthq/ui-edge

Components library as a Nuxt module using [TailwindCSS](https://tailwindcss.com).


Version published
Weekly downloads
8
decreased by-11.11%
Maintainers
11
Created
Weekly downloads
 

Readme

Source

@nuxthq/ui

Components library as a Nuxt module using TailwindCSS.

Installation

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"
  }
}

Options

  • 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

Last updated on 22 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc