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

Undocumented vue-renderer:context hook #1147

Open
mcrapts opened this issue Jan 14, 2021 · 0 comments
Open

Undocumented vue-renderer:context hook #1147

mcrapts opened this issue Jan 14, 2021 · 0 comments
Labels
docs needs to be documented

Comments

@mcrapts
Copy link

mcrapts commented Jan 14, 2021

Is your feature request related to a problem? Please describe.

Nuxt exposes quite some hooks that can be used. They are document here: https://nuxtjs.org/docs/2.x/internals-glossary/internals-renderer#hooks. As far as I know none of these hooks give me the option to add content to only the ssrContext. Because of this I was wondering how the nuxt/content module works, and I noticed this module uses the vue-render:context hook, which is exactly what I needed for my use case. Why is this hook not documented? Can I use it safely?

The hook is used here: https://github.com/nuxt/content/blob/dev/packages/content/lib/index.js#L143

Describe the solution you'd like

Add documentation for the vue-render:context hook or a way to add content to only the ssrContext using other documented features.

@danielroe danielroe transferred this issue from nuxt/nuxt Jan 14, 2021
@atinux atinux added feature-request docs needs to be documented and removed feature-request labels Jan 14, 2021 — with Volta.net
@atinux atinux self-assigned this Jan 18, 2021
@atinux atinux removed their assignment Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs needs to be documented
Projects
None yet
Development

No branches or pull requests

2 participants