routes method

NyRouter routes()
override

Add additional routes to a Nylo project via the router.

Implementation

NyRouter routes() => nyRoutes((router) {
      // Add your routes here
      // router.route("/new-page", (context) => NewPage());
    });