Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to eleventy global #47

Open
zachleat opened this issue Jun 30, 2022 · 1 comment
Open

Access to eleventy global #47

zachleat opened this issue Jun 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@zachleat
Copy link
Member

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

app.config.globalProperties.page = pageData.page;

app.config.globalProperties.page = pageData.page;

@zachleat zachleat added the bug Something isn't working label Jun 30, 2022
@zachleat
Copy link
Member Author

Surfaced by @xdesro here xdesro/soon@27162da#commitcomment-77392069

zachleat referenced this issue in xdesro/soon Jun 30, 2022
🫡 - Add 11ty generator meta tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant