07akioni / nuxtjs-naive-ui

The official nuxt module for naive-ui that supports Nuxt.js SSR.
MIT License
17 stars 2 forks source link

nuxtjs-naive-ui

npm version npm downloads License

English · 中文

The official nuxt module for naive-ui that supports Nuxt.js SSR and simplifies build configuration.

[!IMPORTANT]
If you are using this module, make sure:

  1. @css-render/* and css-render packages' version satisfies >=0.15.14.
  2. Each of @css-render/* and css-render only resolves 1 target. (No different versions of same package & No duplicate for the same version)

You can search in lock file for css-render to check if there's duplicate.

Quick Setup

Install the module to your Nuxt application with one command:

# npm
npx nuxi module add nuxtjs-naive-ui

# pnpm
pnpm dlx nuxi module add nuxtjs-naive-ui