Make sure you have naive-ui@>=2.29.0 installed.
Personally I recommend you using pnpm to install deps.
Look at the nuxt 3 documentation to learn more.
You can clone this repo.
git clone https://github.com/07akioni/naive-ui-nuxt-demo.git
cd naive-ui-nuxt-demoMake sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoistStart the development server on http://localhost:3000
npm run devBuild the application for production:
npm run buildLocally preview production build:
npm run previewCheckout the deployment documentation for more information.