Deployment

Pro
No video for this lesson

Deployment

You can deploy the dist folder to any static hosting provider. To see what this dist folder contains, run the vite build command with pnpm or npm.

PortableText [components.type] is missing "code"

Configure Netlify Deployment

PortableText [components.type] is missing "code"
PortableText [components.type] is missing "code"

Create GitHub Repository

Before initializing a git repo and pushing it to GitHub, create a .gitignore file.

PortableText [components.type] is missing "code"

Add the following to .gitignore.

PortableText [components.type] is missing "code"

After staging and committing your project you can create a GitHub repository through the website's dashboard, with a desktop GUI, or with the GitHub CLI commands detailed below:

PortableText [components.type] is missing "code"

Deploy with Netlify CLI

Add the netlify-cli as a package and login to your Netlify account with ntl login.

PortableText [components.type] is missing "code"

Initialize the Netlify project with ntl init.

PortableText [components.type] is missing "code"

Open intro-to-solid.netlify.app.

Draft off Turn on