Creating Routes with Parameters #19359
Unanswered
kris-felscher
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been developing for years, but I'm new to Vue and Vuetify.
I've created a product rating page for my site, but I can't seem to figure out how to use the
unplugin-vue-router
to pass parameters to my page and component. I've gone through the plugin documentation, but I'm apparently missing some key knowledge here, because it doesn't make a whole lot of sense to me. It seems like this should be a simple task.The page works fine without parameters, but when I add them to the path, I get the message:
[Vue Router warn]: No match found for location with path "/rate/company/product/version/batch/uuid
Here's my folder structure:
Here's my router (router/index.js)
Here's my page (pages/rate.vue)
Things to note:
typed-router.d.ts
file generated which the plugin documentation says should be created/rate
renders the page and component just fine.Any thoughts here? What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions