usePrecognitionConfig
Accessing the current Precognition configuration from your Nuxt app.
This composable provides quick access to Nuxt configuration under the precognition
key. It is used as a part of the module implementation, so there is no particular need to use this composable in your application.
Here is an example of the call:
const precognitionConfig = usePrecognitionConfig()
console.log(precognitionConfig.validateFiles)
Last updated