0👍
You have to declare in your routes
that this route take props and you have to declare your path like this
path: '/movieinfo/:movieInfo',
movieInfo
become a dynamic data and then you can pass it via router-link
- [Vuejs]-Can't preview Vue app developed with Vite in a 3rd party tool iframe (but can using Vue CLI)
Source:stackexchange.com