Skip to content

skoontastic/eleventy-starter

Repository files navigation

Eleveny Starter

A project scaffold for quickly starting a site build with:

  • Eleventy for templates and site generation
  • Tailwindcss for a utility first CSS workflow
  • PurgeCSS for optimizing css output
  • Parcel JS for a simple asset build pipeline
  • Netlify CLI for Netlify dev pipeline and local replication of prod environment

Prerequisites

Running locally

# install the project dependencies
npm install

# run the build and server locally
npm run start

# run the production build
npm run build

Netlify Dev

# Install the Netlify CLI globally
npm install -g netlify-cli
netlify dev

Serverless functions are located in src/functions

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/functions/hello

Redirects and proxies

Netlify's Redirects API can provide friendlier URLs as proxies to these URLs.

  • /api/hello

About

An 11ty starter project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published