Skip to content

Commit 2c9f8ea

Browse files
committed
docs: update vercel page
1 parent 676c97c commit 2c9f8ea

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

docs/2.deploy/20.providers/vercel.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,23 @@ Integration with this provider is possible with [zero configuration](/deploy/#ze
1212

1313
## Deploy using git
1414

15-
1. Push your code to your git repository (GitHub, GitLab, Bitbucket).
16-
2. [Import your project](https://vercel.com/new) into Vercel.
17-
3. Vercel will detect that you are using Nitro and will enable the correct settings for your deployment.
18-
4. Your application is deployed!
15+
16+
- Push your code to your git repository (GitHub, GitLab, Bitbucket).
17+
- [Import your project](https://vercel.com/new) into Vercel.
18+
- Vercel will detect that you are using Nitro and will enable the correct settings for your deployment.
19+
- Your application is deployed!
20+
1921

2022
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).
2123

2224
Learn more about Vercel’s [Git Integration](https://vercel.com/docs/concepts/git).
2325

24-
## Monorepo
26+
## Monorepo support
2527

2628
Monorepos are supported by Vercel. However a custom "[Root Directory](https://vercel.com/docs/deployments/configure-a-build#root-directory)" must be specified in "Project Settings > General" tab. Make sure that "Include source files outside of the Root Directory" is checked.
2729

2830
Examples of values for "Root Directory": `apps/web` or `packages/app`.
2931

30-
## API routes
31-
32-
Nitro `/api` directory isn't compatible with Vercel. Instead, you should use:
33-
34-
- `server/routes/api/` for standalone usage
35-
3632
## Custom build output configuration
3733

3834
You can provide additional [build output configuration](https://vercel.com/docs/build-output-api/v3) using `vercel.config` key inside `nitro.config`. It will be merged with built-in auto-generated config.
@@ -43,10 +39,10 @@ On-demand revalidation allows you to purge the cache for an ISR route whenever y
4339

4440
To revalidate a page on demand:
4541

46-
1. Create an Environment Variable which will store a revalidation secret
42+
- Create an Environment Variable which will store a revalidation secret
4743
- You can use the command `openssl rand -base64 32` or [Generate a Secret](https://generate-secret.vercel.app/32) to generate a random value.
4844

49-
2. Update your configuration:
45+
- Update your configuration:
5046

5147
::code-group
5248

@@ -74,7 +70,7 @@ To revalidate a page on demand:
7470

7571
::
7672

77-
3. To trigger "On-Demand Incremental Static Regeneration (ISR)" and revalidate a path to a Prerender Function, make a GET or HEAD request to that path with a header of x-prerender-revalidate: `bypassToken`. When that Prerender Function endpoint is accessed with this header set, the cache will be revalidated. The next request to that function should return a fresh response.
73+
- To trigger "On-Demand Incremental Static Regeneration (ISR)" and revalidate a path to a Prerender Function, make a GET or HEAD request to that path with a header of x-prerender-revalidate: `bypassToken`. When that Prerender Function endpoint is accessed with this header set, the cache will be revalidated. The next request to that function should return a fresh response.
7874

7975
### Fine-grained ISR config via route rules
8076

0 commit comments

Comments
 (0)