Skip to content

kuizuo/naive-ui-nuxt

Repository files navigation

Naive UI Module

Naive UI module for Nuxt

Features

  • Automatically import components and styles on demand.
  • Automatically import of useMessage, useNotification and other methods.

Quick Setup

  1. Add naive-ui-nuxt dependency to your project
# Using pnpm
pnpm add -D naive-ui-nuxt

# Using yarn
yarn add --dev naive-ui-nuxt

# Using npm
npm install --save-dev naive-ui-nuxt
  1. Add naive-ui-nuxt to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    'naive-ui-nuxt'
  ]
})

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published