dystcz / nuxt-sanctum-auth

Nuxt 3 + laravel sanctum authentication
135 stars 25 forks source link

Nuxt js 3.4 error #16

Closed TheSpecialist1 closed 1 year ago

TheSpecialist1 commented 1 year ago

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 update config['nuxtSanctumAuth'] to config.public['nuxtSanctumAuth'].

kreejzak commented 1 year ago

Thanks for pointing this out. Fixed in v0.4.7