Skip to content

Question about how to open a new window - Preferences for example #162

Answered by jooy2
Mafi78 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello. Thank you for using the Vutron template.
In projects consisting of Vue+Electron, we prefer URLs consisting of hashes, so we use a hash-based router in Vutron as well.

References: https://router.vuejs.org/guide/essentials/history-mode.html#Hash-Mode

When navigating to a page, be sure to use a hash value, not a regular URL.
If you want to navigate to the page /second: Use /#/second or /#second instead of /second.

If you found this helpful, please leave a star on the GitHub project page - we appreciate your support!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mafi78
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants