Skip to content

Releases: 11ty/plugin-template-languages

WebC Plugin v0.12.0-beta.8

Pre-release

Choose a tag to compare

@zachleat zachleat released this 20 Oct 17:22
Immutable release. Only release title and notes can be modified.
42a11a2
  • Breaking Requires Node.js 22.18 or newer.
  • Breaking: this package is now ESM. Works with import or require(esm) (Node 22+)
  • Uses WebC v0.12.0-beta.5: https://github.com/11ty/webc/releases/tag/v0.12.0-beta.5
  • The plugin now lives in the 11ty/plugin-template-languages monorepo. Issues were migrated and have a 📦 webc Label.
  • Eleventy helpers called from WebC no longer mutate the shared this context; page and eleventy are set on a fresh per-call context instead.
  • Dependency: Upgraded to import-module-string@3 from v2 (Node minimum)
  • Dependency: Swapped debug for obug@3.
  • Dependency: Removed the unused @11ty/eleventy-plugin-bundle dependency, since Eleventy 3 core provides addBundle
  • Test added from PR at old repo: confirm #59 is fixed: renderFile and bundling work in permalink: false pages.
  • Test added from PR at old repo: #80 (global data in components via $data) and #93.

v0.12 Milestone at previous repo: https://github.com/11ty/eleventy-plugin-webc/issues?q=is%3Aclosed%20milestone%3A%22Eleventy%20WebC%20v0.12.0%22

Vue 3 Plugin v2.0.0-alpha.1

Pre-release

Choose a tag to compare

@zachleat zachleat released this 19 Oct 19:48
Immutable release. Only release title and notes can be modified.
6ca484a

The plugin's first release from the 11ty/plugin-template-languages monorepo, built for Vue 3 and Eleventy v3.

npm install @11ty/eleventy-plugin-vue@canary

Usage

import vuePlugin from "@11ty/eleventy-plugin-vue";

// Works in Eleventy v3 or Build Awesome v4
export default function($config) {
  $config.addPlugin(vuePlugin);
}

Breaking

  • Requires Eleventy 3.0.0+ and Node.js 22+.
  • The package is now ESM only.
  • Component CSS now goes directly into the core css bundle: e.g. <style>{% getBundle "css" %}</style>. Configure with cssBundleName option.

Changes

  • configureApp(app, data) callback for customizing the Vue app before each render. async-friendly. #48
  • Persistent build cache #40
  • Adds support for .vue as core Layout files (e.g. layout: file.vue) #39
  • Add support for .vue files in includes directories 11ty/eleventy-plugin-vue#42
  • Core supplied data (pagination, page, eleventy, collections) are now given precedence over component data.
  • Fix for Vue mutations on data leaking between pages. #44
  • Improved error messaging in <script> elements #42
  • Fix for dynamic import() of a Vue component #49

Full Milestone: https://github.com/11ty/plugin-template-languages/milestone/1?closed=1