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
-
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 thanOnsNavigator
, which is deliberately kept simple.