We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
routeProps
Trying to use frontmatter to pass arbitrary data to Vue Router via the routeProps option.
That the frontmatter data is retrievable using $route.meta.
$route.meta
The metadata is empty.
vue
3.2.37
vue-router
4.1.3
vite
3.0.3
@vitejs/plugin-vue
3.0.1
vite-plugin-pages
0.25.0
vite-plugin-vue-layouts
0.7.0
vite-plugin-md
0.20.0
@yankeeinlondon/meta-builder
1.0.5
https://stackblitz.com/edit/vitejs-vite-ccwb7f (Compare the meta value on the markdown and SFC pages)
npm
The text was updated successfully, but these errors were encountered:
I have same problem , plz fix this bug @yankeeinlondon
Sorry, something went wrong.
No branches or pull requests
Describe the bug
What I am doing
Trying to use frontmatter to pass arbitrary data to Vue Router via the
routeProps
option.What I expect
That the frontmatter data is retrievable using
$route.meta
.What is actually happening
The metadata is empty.
Versions
vue
:3.2.37
vue-router
:4.1.3
vite
:3.0.3
@vitejs/plugin-vue
:3.0.1
vite-plugin-pages
:0.25.0
vite-plugin-vue-layouts
:0.7.0
vite-plugin-md
:0.20.0
@yankeeinlondon/meta-builder
:1.0.5
Reproduction
https://stackblitz.com/edit/vitejs-vite-ccwb7f (Compare the meta value on the markdown and SFC pages)
Used Package Manager
npm
Validations
vite-plugin-md
repo.The text was updated successfully, but these errors were encountered: