Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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.