Liquid, 11ty, Tailwind stack.
nvm use
npm install
npm start
- http://localhost:8081
npm start
- http://localhost:8081
Build production version of the site.
npm run build
- output goes to
./dist
Serve the ./dist
directory.
npm run serve
- http://localhost:3000
Delete the ./dist
folder and ./src/styles/
.
npm run clean
- Gulp runs PostCSS to build Tailwind to
./src/styles.css
- Eleventy runs and links to css at
./src/styles.css
- Gulp watches for changes to
.src/postcss/
- Eleventy watches for changes to lots of files including the output of gulp css to
.src/styles
- CSS is built via PostCSS in production mode (which purges unused Tailwind classes) via Gulp
- Then Eleventy runs in production mode
- Gulp inlines and minifys CSS, JS, HTML from the eleventy output
Note on viewport
To get 100% on accessibility under the Lighthouse metric you need to update the viewport
meta tag to be:
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=5" />
I've chosen not to do this as it causes the site to zoom in frequently while tapping the UI.
Icons and hero image made using Figma.
- replace name in readme
- update site name in
./src/_data/site.js
- add apple touch icon to
./src/assets
- add favicon to
./src/assets
- add figma doc link to readme
- deploy site
- add deploy badge to readme
- add analytics & update readme
- add url to Lighthouse in Accessibility
- add url to WAVE in Accessibility
If you find this project useful you can donate: