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-demo
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Checkout the deployment documentation for more information.