DEV Community

ahmedrazaa
ahmedrazaa

Posted on

Component redirect issue on navigation..

Hi There, I'm having an issue with vue3 & vue-router@4 The issue is that app url is changed when I click on a navigation menu but It's not rendering the component unless I do manual refresh. here is the error which is showing in console.

runtime-core.esm-bundler.js?5c40:1532 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'asyncLoader')
at isAsyncWrapper (runtime-core.esm-bundler.js?5c40:1532:1)
at unmount (runtime-core.esm-bundler.js?5c40:4789:1)
at unmountComponent (runtime-core.esm-bundler.js?5c40:4895:1)
at unmount (runtime-core.esm-bundler.js?5c40:4796:1)
at unmountChildren (runtime-core.esm-bundler.js?5c40:4924:1)
at unmount (runtime-core.esm-bundler.js?5c40:4814:1)
at unmountComponent (runtime-core.esm-bundler.js?5c40:4895:1)
at unmount (runtime-core.esm-bundler.js?5c40:4796:1)
at unmountChildren (runtime-core.esm-bundler.js?5c40:4924:1)
at unmount (runtime-core.esm-bundler.js?5c40:4814:1)

Discussion (0)