Skip to content

How to make a route guard or passing the route meta with this plugin? #58

Closed Answered by posva
pheng0077 asked this question in Questions and Help
Discussion options

You must be logged in to vote

You can use definePage() within script setup:

<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

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pheng0077
Comment options

@posva
Comment options

posva Sep 3, 2022
Maintainer

@pheng0077
Comment options

@posva
Comment options

Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants