From 4fd46c393a8e34850621bbaea62a33bd0bdeb436 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Thu, 2 Feb 2023 14:42:35 -0600 Subject: [PATCH] WebC example --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d71e10..27fc032 100644 --- a/README.md +++ b/README.md @@ -228,7 +228,24 @@ Now the compiled Sass is available in your default bundle and will show up in `g #### Use with [WebC](https://www.11ty.dev/docs/languages/webc/) -_TODO Coming soon_ +Starting with `@11ty/eleventy-plugin-webc@0.9.0` this plugin is used by default in the Eleventy WebC plugin. Specifically, [WebC Bundler Mode](https://www.11ty.dev/docs/languages/webc/#css-and-js-(bundler-mode)) now uses the bundle plugin under the hood. + +To add CSS to a page bundle in WebC, you would use a ` + +``` + +To add JS to a page bundle in WebC, you would use a ` + +``` + +* Existing calls via WebC helpers `getCss` or `getJs` (e.g. `