xt.js:104 [nuxt] [runtimeConfig] You are trying to access a public runtime config value (nuxtSanctumAuth) directly from the top level. This currently works (for backward compatibility with Nuxt 2) but this compatibility layer will be removed in v3.5. Instead, you can update config['nuxtSanctumAuth'] to config.public['nuxtSanctumAuth'].
getting this error on nuxt js 3.4.
xt.js:104 [nuxt] [runtimeConfig] You are trying to access a public runtime config value (
nuxtSanctumAuth
) directly from the top level. This currently works (for backward compatibility with Nuxt 2) but this compatibility layer will be removed in v3.5. Instead, you can updateconfig['nuxtSanctumAuth']
toconfig.public['nuxtSanctumAuth']
.