Mount Vert.x Web sub-routers on a route
ProprietaryVert.x 5 removed Router.mountSubRouter(path, router), and since Vert.x 4 SockJSHandler.bridge(..) returns a sub-router rather than a handler. router.mountSubRouter("/api", api) becomes router.route("/api/*").subRouter(api), and route.handler(sockJSHandler.bridge(options)) becomes route.subRouter(sockJSHandler.bridge(options)).
io. moderne. vertx. MountSubRouterToRoutemod run . --recipe= io. moderne. vertx. MountSubRouterToRouteInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.