Unofficial Naive UI integration for Nuxt.
Note
The official naive-ui
module for Nuxt is recently created and can be found here.
- ✔️ SSR friendly
- ✔️ Auto imported and tree-shakable components & composables
- ✔️ Highly customizable for color mode and device type
- ✔️ Friendly integration with Tailwindcss
- ✔️ Adds custom components
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
The documentation website can be found here.
# Install dependencies
yarn install
# Generate type stubs
yarn dev:prepare
# Develop with the playground
yarn dev
# Build the playground
yarn dev:build
# Run ESLint
yarn lint