Deploy Svelte with ZEIT Now

Create a Svelte app and deploy it live with ZEIT Now.

Svelte is a radically new approach to building user interfaces.

Step 1: Set Up Your Svelte Project

Set up a Svelte app with npx and move into the project directory:

npx degit sveltejs/template my-svelte-project && cd my-svelte-project

Initializing a Svelte app with npx and moving into the project directory.

Step 2: Deploying Your Svelte App with ZEIT Now

With a Svelte app set up, it is ready to deploy live with Now.

Using Now CLI, deploy your app with a single command:

now

Deploying your Svelte app with Now CLI.

If you want to deploy your Svelte app when you push to a Git repository, you can use either Now for GitHub or Now for GitLab to have your project automatically deployed on every push, and the production domain updated on push to master.



Written By
Written by msweeneydevmsweeneydev
on October 30th 2019