Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants