Site web sans.pub
Go to file
2021-03-19 20:20:48 +01:00
.github Structure initiale 2021-03-19 12:29:11 +01:00
src Mise en place de la page d'accueil et du changelog 2021-03-19 20:20:48 +01:00
.eleventy.js Structure initiale 2021-03-19 12:29:11 +01:00
.gitignore Structure initiale 2021-03-19 12:29:11 +01:00
.nvmrc Structure initiale 2021-03-19 12:29:11 +01:00
LICENSE Structure initiale 2021-03-19 12:29:11 +01:00
netlify.toml Structure initiale 2021-03-19 12:29:11 +01:00
package-lock.json Structure initiale 2021-03-19 12:29:11 +01:00
package.json Configuration du déploiement 2021-03-19 20:20:35 +01:00
postcss.config.js Structure initiale 2021-03-19 12:29:11 +01:00
README.md Structure initiale 2021-03-19 12:29:11 +01:00
tailwind.config.js Structure initiale 2021-03-19 12:29:11 +01:00

jet 🛩

Its (j)ust (e)leventy and (t)ailwind … OK, and a few other things; its still really small though.

Deploy with Vercel Deploy with Netlify

Goal

Eleventy and Tailwind CSS are my favorite things right now.

While learning how to use Eleventy, I came across a few starter projects that combine it with Tailwind CSS, which is amazing, but they also come with so much more.

Personally, I only want Eleventy and Tailwind … and, taking the desire for simplicity one step further, I only want to use them via NPM scripts.

So, I made this and it seems to work 🤷‍♀️

How you can use it

  1. Create your own new repo from jets template, or clone this one
  2. Install dependencies: npm i
  3. Start development: npm run dev
  4. Visit http://localhost:8080 to see your work-in-progress
  5. Do super-fun Eleventy and Tailwind things
  6. When youre done: npm run build
  7. Host your project somewhere (Netlify and Vercel are nice options)

Thats it 🕺

A Note on Tailwind CSS v2.x

As of November 25th, 2020, jet has been updated to utilize Tailwind CSS v2.0. If you want to upgrade your project from Tailwind CSS v1.x to v2.x, the Tailwind folks have a wonderful Upgrade Guide you should review.

Disclaimer

I originally built this in about an hour through trial-and-error, so I'm sure there's a lot of room for improvement.

If you try it and find issues, or think of improvements, please file an issue and/or create a pull request.