Function perseus_axum::get_router
source · [−]pub async fn get_router<M: MutableStore + 'static, T: TranslationsManager + 'static>(
__arg0: ServerProps<M, T>
) -> Router
Expand description
Gets the Router
needed to configure an existing Axum app for Perseus, and should be provided after any other routes, as they include a wildcard
route.