Composables
useSanctumAppConfig
How to use useSanctumAppConfig to retrieve module application configuration
Usage
This composable provides quick access to the module configuration instead of using useAppConfig().sanctum.
Take a look at the following example
const config = useSanctumAppConfig();
console.log(config.interceptors.onRequest); // appConfig.sanctum.interceptors.onRequest
More details about the configuration structure can be found here.