Make sure you have naive-ui@>=2.29.0
installed.
Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
This demo uses official module nuxtjs-naive-ui
to adapt SSR of Nuxt.js. If you
got CSS-in-JS related error, please see caveat of the module.
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm build
# yarn
yarn build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm preview
# yarn
yarn preview
Check out the deployment documentation for more information.