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

feat: add definePageMeta to use it with nuxt 2 and @nuxtjs/composition-api package #634

Open
abdulhadi-lababidi opened this issue May 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@abdulhadi-lababidi
Copy link

abdulhadi-lababidi commented May 8, 2022

provide a way to define nuxt related properties like (meta, layout, middleware ..etc) using @nuxtjs/composition-api package within setup script

something like definePageMeta in nuxt 3

@abdulhadi-lababidi abdulhadi-lababidi added the enhancement New feature or request label May 8, 2022
@danielroe danielroe added the wontfix This will not be worked on label Jun 19, 2022
@danielroe
Copy link
Member

The implementation details would be fairly tricky so I'm not inclined to implement this at the moment or in this library. However, with Vue 2.7 bringing composition API to Vue 2, there may be an opportunity to enhance Nuxt Bridge or Nuxt 2 to have this behaviour.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants