Skip to content

becem-gharbi/nuxt-naiveui

Repository files navigation

Nuxt Naive UI

npm version npm downloads License Nuxt

Unofficial Naive UI integration for Nuxt.

Note

The official naive-ui module for Nuxt is recently created and can be found here.

Features

  • ✔️ SSR friendly
  • ✔️ Auto imported and tree-shakable components & composables
  • ✔️ Highly customizable for color mode and device type
  • ✔️ Friendly integration with Tailwindcss
  • ✔️ Adds custom components

Installation

Add @bg-dev/nuxt-naiveui dependency to your project

# Using npm
npm install --save-dev @bg-dev/nuxt-naiveui

# Using yarn
yarn add --dev @bg-dev/nuxt-naiveui

Documentation

The documentation website can be found here.

Development

# Install dependencies
yarn install && cd playground && yarn install

# Generate type stubs
yarn dev:prepare

# Develop with the playground
yarn dev

# Build the playground
yarn dev:build

# Run ESLint
yarn lint

License

MIT License