Skip to content

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

Closed Answered by posva
sokphengkean asked this question in Q&A
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
@sokphengkean
Comment options

@posva
Comment options

@sokphengkean
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
Category
Q&A
Labels
None yet
2 participants