Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why using createWebHistory refreshing the page while navigating from Sidebar?#293

Discussion options

Hi,

As the title said, I want to usecreateWebHistory instead ofcreateWebHashHistory for the router. And when I change it tocreateWebHistory 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!

You must be logged in to vote

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

Comment options

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

You must be logged in to vote
1 reply
@pervej-fac

This comment was marked as off-topic.

Answer selected byjames-tanuwidjaja

This comment was marked as off-topic.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
3 participants
@james-tanuwidjaja@ryandiginomad@pervej-fac

[8]ページ先頭

©2009-2025 Movatter.jp