This repo contains a 11ty starter for Tailwind CSS, Eleventy and Alpine.js, built for GitHub Pages.
- Click Use this template to create your own repository based on this starter template.
- Clone your version locally using your perferred method, I recommend GitHub CLI.
- Set your GitHub Pages source to use GitHub Actions instead of Deploy from a branch.
Now whenever you push to main the workflow - .gh-pages.yml, will rebuild your site and deploy it.
start- alias forwatch.watch- start local development server.dev- build development version.build- build production version.
src- contains all files used to build your site.src/assets- contains CSS and JavaScript files bundled by webpack.src/site- contains files used by Eleventy to generate site.src/site/content- Eleventy's entry folder, where your pages exists.src/site/_*- contains your data, filters, includes, layouts, plugins and transforms files.
View the .eleventy.js and webpack.config.js file for a better understanding.