1.0.9 • Published 1 year ago
naive-ui-nuxt v1.0.9
Naive UI Module
Features
- Automatically import components and styles on demand.
- Automatically import of useMessage, useNotification and other methods.
Quick Setup
- 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
- Add
naive-ui-nuxt
to themodules
section ofnuxt.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