Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not use it with vue-router #92

Closed
zuishuaicc opened this issue Feb 22, 2024 · 3 comments
Closed

can not use it with vue-router #92

zuishuaicc opened this issue Feb 22, 2024 · 3 comments

Comments

@zuishuaicc
Copy link

my project use vue3+vue-router,then install this plugin,after build my project ,i can open the index.html page.but open the router page failed,

@hololeo
Copy link

hololeo commented May 31, 2024

i have this problem too. it seems just loading an index.html page wont work.

@richardtallent
Copy link
Owner

I've used this with vue-router since I created it, since I'm a Vue developer. But, as mentioned in the README, you must use hash-based routing, not the Web History API. See:

https://router.vuejs.org/guide/essentials/history-mode

@zuishuaicc
Copy link
Author

I've used this with vue-router since I created it, since I'm a Vue developer. But, as mentioned in the README, you must use hash-based routing, not the Web History API. See:

https://router.vuejs.org/guide/essentials/history-mode

ok,thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants