Reputation: 24748
I use vue and vue router.
By default it will add #/
to the urls. I want to have some pages served as PHP and other pages rendered by vue router.
Examples
I want all these to work:
example.com
example.com/#/some/query/
example.com/about
example.com/about#/some/query/
Is it possible?
Upvotes: 0
Views: 374
Reputation:
In the end, yes - it is possible. But mixing different modes is generally bad idea - it will leads to mess in architecture. Choose history or hash mode and make your application consistent, using just one of them.
Upvotes: 1