Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/07akioni/naive-ui-nuxt-demo
https://github.com/07akioni/naive-ui-nuxt-demo
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/07akioni/naive-ui-nuxt-demo
- Owner: 07akioni
- Created: 2022-05-15T19:52:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T10:02:15.000Z (5 months ago)
- Last Synced: 2024-11-24T16:26:00.857Z (about 1 month ago)
- Language: Vue
- Size: 269 KB
- Stars: 54
- Watchers: 1
- Forks: 23
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
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.