Monaca Onsen UI Discord Chat Github Repo

Angular 6 routing with OnsNavigator



  • Hello, I am new with Onsen UI. I’ve been reading a lot and stumble with OnsNavigator. Does OnsNavigator work with Angular routing. Like if I paste a route or if I navigate with OnsNavigator does it register with URL ? Thanks


  • Onsen UI

    If you want URL-based routing, you should use Angular’s built-in router, and not use OnsNavigator at all. It is technically possible to use the two together, but not necessary. Angular’s router provides more advanced functionality than OnsNavigator, which is deliberately kept simple.