Closed Faryyaz closed 6 months ago
https://codesandbox.io/p/sandbox/vue-router-forked-5xd2tn?file=%2Fsrc%2Fmain.js%3A15%2C34-16%2C4
The id param should be displayed. Even though it has not been defined in the router config:
path: "/detail/"
The id param is undefined in console log and is not displayed on the page.
No response
For those searching for an answer. Please read:
https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22
Duplicate of https://github.com/vuejs/router/issues/1527
Reproduction
https://codesandbox.io/p/sandbox/vue-router-forked-5xd2tn?file=%2Fsrc%2Fmain.js%3A15%2C34-16%2C4
Steps to reproduce the bug
Expected behavior
The id param should be displayed. Even though it has not been defined in the router config:
path: "/detail/"
Actual behavior
The id param is undefined in console log and is not displayed on the page.
Additional information
No response