A demo static generated site using Eleventy via a starter project scaffold called Eleventy One.
This site uses the following:
Advantages:
Disdvantages:
The pages found in in the posts
The following links were sourced from hawksworx.com and pre-rendered at build time.
# clone the repo locally
git clone https://github.com/kccnma/eleventy-test1
# install the dependencies
npm install
# External data sources can be stashed locally
npm run seed
# It will then be available locally for building with
npm run start
Netlify Dev adds the ability to use Netlify redirects, proxies, and serverless functions.
# install the Netlify CLI in order to get Netlify Dev
npm install -g netlify-cli
# run a local server with some added Netlify sugar in front of Eleventy
netlify dev
A serverless functions pipeline is included via Netlify Dev. By running netlify dev
you'll be able to execute any of your serverless functions directly like this:
Netlify's Redirects API can provide friendlier URLs as proxies to these URLs.