-
-
Couldn't load subscription status.
- Fork 982
Why using createWebHistory refreshing the page while navigating from Sidebar? #293
-
Hi,
As the title said, I want to use createWebHistory instead of createWebHashHistory for the router. And when I change it to createWebHistory it refresh the page while navigating through Sidebar. Is it possible to fix this? If it is, where do I fix this?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions
I've got the same problem here. The workaround I did is to modify AppSidebarNav.js onClick event:
onClick: (e) => { e.preventDefault() props.navigate() },
But still I think it's just a workaround solution, because the same problem happened to CDropdownItem, CBreadcrumbItem
Replies: 2 comments 1 reply
-
I've got the same problem here. The workaround I did is to modify AppSidebarNav.js onClick event:
onClick: (e) => { e.preventDefault() props.navigate() },
But still I think it's just a workaround solution, because the same problem happened to CDropdownItem, CBreadcrumbItem
Beta Was this translation helpful? Give feedback.