this shows how to use netlify with just plain html js and css, together with netlify functions.
Clone or fork this repo, link to a git host (like GitHub or GitLab), and deploy to Netlify at https://app.netlify.com
Make sure you have the latest CLI version:
npm i -g netlify-cli
then:
git clone https://github.com/netlify-labs/vanilla-html-example # or clone your own fork of this repo
cd vanilla-html-example
netlify dev
and develop away! use netlify functions:create
to scaffold new functions as needed
To deploy:
netlify init
# optionally do a preview deploy: netlify deploy
# or straight to prod: netlify deploy --prod
If you have an existing Netlify instance you want this code to take over, use netlify link
instead.
You can check your login status with netlify status
, and also check out the browser extension and menubar app.
Watch this 7 minute video: https://youtu.be/gWIK_QHyuWs