Open zachleat opened 2 years ago
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
page
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
Surfaced by @xdesro here https://github.com/xdesro/soon/commit/27162dae4f497745551763bd8f1ef1d009c75343#commitcomment-77392069
Vue components do not have access to top level global data by default but we do have an exception for
page
. Add the same foreleventy
https://github.com/11ty/eleventy-plugin-vue/blob/0b64bdc7897aeb78a89da1eeecb9a1d5e58f2942/EleventyVue.js#L528
https://github.com/11ty/eleventy-plugin-vue/blob/8d594987111db6200ecd67216b6554d8a5380b14/EleventyVue.js#L528