Repository navigation
Vue 3 Plugin v2.0.0-alpha.1
Pre-release
Pre-release
·
12 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
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@canaryUsage
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
cssbundle: e.g.<style>{% getBundle "css" %}</style>. Configure withcssBundleNameoption.
Changes
configureApp(app, data)callback for customizing the Vue app before each render.async-friendly. #48- Persistent build cache #40
- Adds support for
.vueas core Layout files (e.g.layout: file.vue) #39 - Add support for
.vuefiles 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