Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/07akioni/naive-ui-nuxt-demo


https://github.com/07akioni/naive-ui-nuxt-demo

Last synced: 28 days ago
JSON representation

Awesome Lists containing this project

README

        

# Naive UI Nuxt Demo

## Prequisite

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

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install the dependencies:

```bash
# 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](https://github.com/07akioni/nuxtjs-naive-ui).

## Development Server

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

```bash
# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.