add Netlify setup

This commit is contained in:
Nils Norman Haukås 2022-03-20 13:37:31 +01:00
parent 586e545a7c
commit 79c065b27c
2 changed files with 10 additions and 0 deletions

2
netlify.toml Normal file
View file

@ -0,0 +1,2 @@
[build]
publish = "src/"

View file

@ -6,3 +6,11 @@
1. Install [Node.js](https://nodejs.org/en/).
1. Run `npm install` to install dependencies.
1. Run `npm start` to start the livereload server.
## For deployment
Just copy the `src/` folder to any static-file capable hosting provider.
You can also create a free account and deploy to Netlify.
[![Deploy to Netlify button](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/nilsnh/web-components-workshop)