To deploy a Gridsome site you need a static web host.
The best practice when working with Gridsome sites is to have your project hosted on a Git-service like GitHub and connect a deploy service that builds your site from a selected repository.
These services are great for Git-based deploying:
Many services let you deploy your static Gridsome site from the terminal. Here are some:
To host your site on traditional hosting via FTP you need to manually build your project from the terminal.
- Run
gridsome build
in your project folder. - This will generate a
dist
folder where your generated site is located. - Upload the content of this folder to any FTP to get started.
Netlify Drop lets you deploy a website with simply drag & drop.
- Run
gridsome build
in your project folder. - This will generate a
dist
folder where your generated site is located. - Visit Netlify Drop and drop the
dist
folder there.