While I was working on Navigo an issue popped out. It was about using the library in the context of Web Dev Server where we have everything in TypeScript. And something was not ok with Navigo. The npm package wasn't exported properly and we were keep getting aread more
does not provide an export named 'default'error. It turned out the problem is that Navigo is not exported properly as ES module (also known as ESM).