How to Deploy a Solid App with Vercel

Create a Solidjs app and deploy it live with Vercel.

This guide will show you how to deploy a Solid app and get your domain set up.

Solidjs is a declarative JavaScript library for creating user interfaces. Instead of using a Virtual DOM it opts to compile its templates down to real DOM nodes and wrap updates in fine grained reactions. To build an Solid app, start with a template:

Deploy Solid to Vercel

Vercel is a platform for deploying the fastest Solid apps. You can deploy your app with zero configuration to the best frontend infrastructure.

  • Develop: Build Solid apps that connect to your favorite APIs, databases, and content management systems.
  • Preview: Integrate with any GitHub, GitLab, or Bitbucket repository for instant continuous deployment.
  • Ship: Deploy your app to every edge node worldwide for the fastest Solid apps. Static files, Serverless and Edge Functions, and more.

Built-in CI/CD for Solid apps

Vercel has integrations for GitHub, GitLab, and Bitbucket to enable CI/CD for your Solid app with zero configuration. Then, you can run automated tests for performance and reliability on every push. Pull and merge requests are deployed instantly to a unique URL, accessible to your entire team.

Add your custom domain

After deploying, your new Solid app will get automatically assigned a .vercel.app suffixed domain. You can then add a Custom Domain on your choice, either from a third-party or purchased through Vercel.

Deploy Solid to Vercel

Start from a template

Vercel CLI

  1. Install the Vercel CLI and run vercel to deploy.
  2. Vercel will detect that you are using Solid and will enable the correct settings for your deployment.
  3. Your application is deployed! (e.g. solid-start-template.vercel.app)

Vercel for Git

  1. Push your code to your git repository (GitHub, GitLab, BitBucket).
  2. Import your Solid project into Vercel.
  3. Vercel will detect that you are using Solid and will enable the correct settings for your deployment.
  4. Your application is deployed! (e.g. solid-start-template.vercel.app)


Written By
Written by moleboxmolebox