eleventy-plugin-vue icon indicating copy to clipboard operation
eleventy-plugin-vue copied to clipboard

Access to `eleventy` global

Open zachleat opened this issue 3 years ago • 1 comments

Vue components do not have access to top level global data by default but we do have an exception for page. Add the same for eleventy

https://github.com/11ty/eleventy-plugin-vue/blob/0b64bdc7897aeb78a89da1eeecb9a1d5e58f2942/EleventyVue.js#L528

https://github.com/11ty/eleventy-plugin-vue/blob/8d594987111db6200ecd67216b6554d8a5380b14/EleventyVue.js#L528

zachleat avatar Jun 30 '22 21:06 zachleat

Surfaced by @xdesro here https://github.com/xdesro/soon/commit/27162dae4f497745551763bd8f1ef1d009c75343#commitcomment-77392069

zachleat avatar Jun 30 '22 21:06 zachleat