Need help with jamstack-web-starter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

scottishstoater
259 Stars 25 Forks MIT License 117 Commits 2 Opened issues

Description

Eleventy Web Starter is a lightweight Eleventy boilerplate utilising, ESBuild Tailwind and PostCSS.

Services available

!
?

Need anything else?

Contributors list

# 79,990
HTML
CSS
respons...
css-fra...
110 commits

Eleventy Web Starter

Eleventy · Tailwind CSS · HTML · CSS · Javascript

Contents


Project Overview

  • The project uses Eleventy as a static site generator
  • Default templating is Nunjucks (can be changed)
  • PostCSS set up to handle:
    • TailwindCSS
    • CSS Imports
    • Autoprefixer
  • PurgeCSS to remove unused CSS (set up for TailwindCSS by default) in production
  • HTML minified in production
  • CSS inlined and minified in production
  • esbuild used to bundle and minify scripts
  • Document
     crafted using htmlhead.dev
    

Getting Started

Install dependencies

npm install

Working locally

Starts watch tasks to compile when changes detected

npm start

Creating a production build

Minify HTML, minify JS, inline and minify CSS.

npm run build

Deployment

You can host the production output on any web server or service you like and upload it via any method, it'll work.

If you don't have an existing place to host your site you should have a look at Netlify, I can't recommend it enough. To get started you can hit the button below.

Deploy to Netlify


Credits

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.