hannoeru / vite-plugin-pages

File system based route generator for ⚡️Vite
MIT License
1.87k stars 128 forks source link

[Bugs] Cannot bind multiple baseRoutes to the same directory #349

Closed censujiang closed 5 months ago

censujiang commented 1 year ago

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

censujiang commented 1 year ago

@hannoeru @antfu Are there any people?

maxdiable commented 1 year ago

hi, i have same problem.. any solution ??

br Max