How to make a route guard or passing the route meta with this plugin? #58
-
I can't find the way to use route guards or passing route meta here. |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Sep 1, 2022
Replies: 1 comment 4 replies
-
You can use <script setup>
definePage({
meta: {}
})
</script> It's still experimental because it has some limitations like not being able to use any other property within script setup |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
definePage()
within script setup:It's still experimental because it has some limitations like not being able to use any other property within script setup