You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new version of path-to-regexp in latest page.js caused my app to init in a infinite loop and freeze the browser. The page-router did not recognise my routes so falled back on the default behavior. It turned out that it was because I used base = '/' in the settings. If that is the correct behaviour, maybe add some check so that onDefaultRouteis not called in a loop if no other routes is present. Or just ignore base if it's the root. I noticed this when I had to wipe node_modules and page updated itself.
Ah, thanks for the catch!
Yeah I think base the base shouldn't have trailing slash, I should add something about that in the doc or parse it myself - I guess it makes more sens to have / that .
Some fixes are pretty nice like the
context.params
finally being a real object.Need to check that it still passes the vue-route tests though.
The text was updated successfully, but these errors were encountered: