Skip to content
项目

关于

它(j)只用了(e)leventy 和(t)ailwind……好吧,还用了少数其他东西;不过它依然*非常*精简。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

jet 🛩

It’s (j)ust (e)leventy and (t)ailwind … OK, and a few other things; it’s still really small though.

Deploy with Netlify

Goal

While learning how to use Eleventy, I came across a few starter projects that combine it with Tailwind CSS, which is neat, 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 jet’s 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 you’re done: npm run build
  7. Host your project somewhere (Netlify and Vercel are nice options)

That’s it 🕺

A Note on Eleventy v3.x

As of October 17th, 2024, jet has been updated to utilize Eleventy v3.x. If you want to upgrade your project from Eleventy v2.x to v3.x, there’s a a helper plugin.

A Note on Tailwind CSS v4.x

As of January 31st, 2025, jet has been updated to utilize Tailwind CSS v4.0. If you want to upgrade your project from Tailwind CSS v3.x to v4.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.

探索相关项目

加载中…