Skip to content

onBeforeInit

The initialization function is triggered before the Axe API starts to create routes.

ts
import { App } from "axe-api";

const onBeforeInit = async (app: App) => {
  // Do anything with the App instance
};

export { onBeforeInit };

Released under the MIT License.