[Bugs] Cannot bind multiple baseRoutes to the same directory
censujiang opened this issue · comments
江程训 commented
Describe the bug
I want to make directories look like versions for a given language by pointing different baseRoutes to the same directory. This is done to allow the ViteSSG plugin to generate corresponding static web pages in different language directories, but it seems that the entire site cannot display pages. An example of error reporting:
[Vue Router warn]: No match found for location with path "/"
Reproduction
https://stackblitz.com/edit/github-2zsjpe
System Info
[Vue Router warn]: No match found for location with path "/"
Used Package Manager
yarn
Validations
- Follow the Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A please open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Max commented
hi,
i have same problem..
any solution ??
br
Max