mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 04:22:07 +00:00
49 lines
897 B
Markdown
49 lines
897 B
Markdown
# Nuxt Example
|
|
|
|
Deploy your [Nuxt](https://nuxt.com) project to Vercel with zero configuration.
|
|
|
|
[](https://vercel.com/new/clone?repository-url=https://github.com/vercel/vercel/tree/main/examples/nuxtjs&template=nuxtjs)
|
|
|
|
_Live Example: https://nuxtjs-template.vercel.app_
|
|
|
|
Look at the [Nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.
|
|
|
|
## Setup
|
|
|
|
Make sure to install the dependencies:
|
|
|
|
```bash
|
|
# yarn
|
|
yarn
|
|
|
|
# npm
|
|
npm install
|
|
|
|
# pnpm
|
|
pnpm install --shamefully-hoist
|
|
```
|
|
|
|
## Development Server
|
|
|
|
Start the development server on http://localhost:3000
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
## Production
|
|
|
|
Build the application for production:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
Locally preview production build:
|
|
|
|
```bash
|
|
npm run preview
|
|
```
|
|
|
|
Checkout the [deployment documentation](https://nuxt.com/docs/getting-started/deployment#presets) for more information.
|