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

feat: A method to opt-out of automatic use of useMeta #739

Open
gapipro opened this issue Jan 19, 2023 · 1 comment
Open

feat: A method to opt-out of automatic use of useMeta #739

gapipro opened this issue Jan 19, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@gapipro
Copy link

gapipro commented Jan 19, 2023

🆒 Your use case
Currently if you are using existing setup for meta: {}, adding composition-api automatically changes the behaviour to useMeta way.

This breaks existing code what uses object instead of function at nuxt.app.head.

What is even more strange is that initial render still has old setup, but after page is rendered it switches to useMeta way.

🆕 The solution you'd like
Add an option to module to disable this automatic behaviour.

@gapipro gapipro added the enhancement New feature or request label Jan 19, 2023
@rchl
Copy link
Member

rchl commented Mar 30, 2023

Are you thinking globally opt out or per page component?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants