Integrating hgrid-css in an Eleventy (11ty) project
https://hgrid.io/documentation/integrate/#11ty
https://github.com/ahansson/hgrid-css-eleventy
Minimal setup of 11ty with Sass compilation for hgrid-css
. Builds final CSS with Autoprefixer and PostCSS minification.
A lightweight and practical CSS utility kit with zero config and a flat learning curve.
Repo: https://github.com/ahansson/hgrid-css
Installs the required node_modules
, including hgrid-css
.
npm install
Starts the development server with Sass compilation for hgrid and serves your site from the _public
folder on localhost:8080 (if available).
npm run start
npm run build
Builds all files and copies them to the _public
folder. This is the command you run on the server if you use hosting services like Netlify, Vercel, GitHub Pages, etc.