Skip to main content

Vercel

Manage Vercel projects, deployments, and environment variables.

Resources

Project

Create and manage Vercel projects.

Props

string
default:"${app}-${stage}-${id}"
The desired name for the project (Maximum length: 100)
string
The framework that is being used for this project. Supported frameworks include:
  • nextjs, react-router, astro, vite, remix, gatsby
  • svelte, sveltekit, vue, nuxtjs, angular
  • solidstart, hydrogen, docusaurus
  • And many more…
object
The Git Repository that will be connected to the project
array
Collection of environment variables the project will use
string
The build command for this project. When null is used this value will be automatically detected
string
The dev command for this project. When null is used this value will be automatically detected
string
The install command for this project. When null is used this value will be automatically detected
string
The output directory of the build. When null is used this value will be automatically detected
string
The name of a directory or relative path to the source code of your project. When null is used it will default to the project root
boolean
Specifies whether the source code and logs of the deployments for this project should be public or not
string
The region to deploy Serverless Functions in this project
boolean
Opt-in to preview toolbar on the project level
boolean
Opt-in to production toolbar on the project level
object
Resource configuration

Returns

string
The ID of the project
string
The name for the project
string
The account ID that the project belongs to
number
The time at which the project was created
number
The time at which the project was last updated
object
The latest deployment of the project