From da316d2ca330b0b4b5d0825dd5158abbb110c5fb Mon Sep 17 00:00:00 2001
From: dwkns
Date: Sun, 16 Mar 2025 12:46:39 +0000
Subject: [PATCH] Add Eleventy Framework guide
---
.../framework-guides/eleventy.tsx | 163 ++++++++++++++++++
.../installation/framework-guides/index.ts | 1 +
src/docs/img/guides/eleventy-white.react.svg | 7 +
3 files changed, 171 insertions(+)
create mode 100644 src/app/(docs)/docs/installation/framework-guides/eleventy.tsx
create mode 100644 src/docs/img/guides/eleventy-white.react.svg
diff --git a/src/app/(docs)/docs/installation/framework-guides/eleventy.tsx b/src/app/(docs)/docs/installation/framework-guides/eleventy.tsx
new file mode 100644
index 000000000..6804b3650
--- /dev/null
+++ b/src/app/(docs)/docs/installation/framework-guides/eleventy.tsx
@@ -0,0 +1,163 @@
+import { css, html, js, Page, shell, Step, Tile } from "./utils";
+import Logo from "@/docs/img/guides/eleventy-white.react.svg";
+
+export let tile: Tile = {
+ title: "Eleventy",
+ description: "Eleventy is a simpler static site generator",
+ Logo,
+};
+
+export let page: Page = {
+ title: "Install Tailwind CSS with Eleventy",
+ description: "Setting up Tailwind CSS in an Eleventy project.",
+};
+
+export let steps: Step[] = [
+ {
+ title: "Create your project",
+ body: (
+
+ Start by creating a new Eleventy project if you don’t have one set up already. The most common approach is outlined in their{" "}
+ getting started guide.
+
+ Create a eleventy.config.js file in your project root, and add the @11ty/eleventy-plugin-vite{" "} and @11ty/eleventy-plugin-vite{" "}
+ plugin. Include an addPassthroughCopy to copy your CSS to the output folder.
+