07akioni / naive-ui-nuxt-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naive UI Nuxt Demo

Prequisite

Make sure you have naive-ui@>=2.29.0 installed.

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Nuxt module

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.

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

Production

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.

About


Languages

Language:Vue 99.0%Language:TypeScript 1.0%