warn(
`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\n\n` +
`history.replaceState(history.state, '', url)\n\n` +
- `You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`
+ `You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`
)
}
if (__DEV__ && normalizedRecord.path === '*') {
throw new Error(
'Catch all routes ("*") must now be defined using a param with a custom regexp.\n' +
- 'See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.'
+ 'See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.'
)
}
if (__DEV__ && !routerHistory)
throw new Error(
'Provide the "history" option when calling "createRouter()":' +
- ' https://next.router.vuejs.org/api/#history.'
+ ' https://router.vuejs.org/api/interfaces/RouterOptions.html#history'
)
const beforeGuards = useCallbacks<NavigationGuardWithThis<undefined>>()