mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 18:34:50 +00:00
a3b523bca3
Co-authored-by: pooya parsa <pyapar@gmail.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
---
|
||
icon: LogoVercel
|
||
---
|
||
|
||
# Vercel
|
||
|
||
Nuxt on Vercel supports server-rendered pages and API routes.
|
||
|
||
::list
|
||
|
||
- Support for serverless build
|
||
- Auto-detected when deploying
|
||
- No configuration required
|
||
::
|
||
|
||
## Git
|
||
|
||
1. Push your code to your git repository (GitHub, GitLab, Bitbucket).
|
||
2. [Import your project](https://vercel.com/new) into Vercel.
|
||
3. Vercel will detect that you are using Nuxt and will enable the correct settings for your deployment.
|
||
4. Your application is deployed! (e.g. [nuxt.vercel.app](https://nuxt.vercel.app/))
|
||
|
||
After your project has been imported and deployed, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/concepts/deployments/environments#preview), and all changes made to the Production Branch (commonly “main”) will result in a [Production Deployment](https://vercel.com/docs/concepts/deployments/environments#production).
|
||
|
||
Learn more about Vercel’s [Git Integration](https://vercel.com/docs/concepts/git).
|
||
|
||
## CLI
|
||
|
||
1. Install the [Vercel CLI](https://vercel.com/cli).
|
||
2. Vercel will detect that you are using Nuxt and will enable the correct settings for your deployment.
|
||
3. Your application is deployed! (e.g. [nuxt.vercel.app](https://nuxt.vercel.app/))
|
||
|
||
```bash
|
||
npm i -g vercel
|
||
npx nuxi init -t v3-vercel
|
||
vercel
|
||
```
|
||
|
||
## Learn more
|
||
|
||
:ReadMore{link="https://nitro.unjs.io/deploy/providers/vercel.html" title="the Nitro documentation for Vercel deployment"}
|