Instance of AxonRouter for easier usage
const router = Router(); // without prefixconst router2 = Router("/api/v1"); // with prefix Copy
const router = Router(); // without prefixconst router2 = Router("/api/v1"); // with prefix
Optional
prefix for all routes in this router
returns an instance of AxonRouter
Instance of AxonRouter for easier usage
Example