Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.77 KB

README.md

File metadata and controls

45 lines (24 loc) · 1.77 KB

Vercel Html Hosting Template

This is a repository template to host static html/css webpages on https://vercel.app

Jump to:

Setup

Adding custom content

Setup

Start by cloning this repo (or use as a template)

image

Go to https://vercel.com and login with your github account

Create a new project and import from github

image

image

Select your github repo and press import

image

Under project settings you need to customize your build settings

Build command: npm run start

Install command: npm install

image

After you have setup build setting press deploy and vercel should deploy the project by itself

If you have setup everything correctly you should see a page looking somewhat like this:

image

You should get a domain from vercel. Mine became: https://vercel-html-hosting-template.vercel.app/

Adding custom content

After setting up your deployment, you can add you own html/css/javascript files in the public folder on github. And Vercel should deploy the changes automatically