I have an issue where i do not get the auth to work in the index.vue page in the root of the pages folder of nuxt.
So on ALL routes everything works fine, but on the pages/index.vue it does not. So basically that is the '/' route/url of the app. I have tried to put auth in the layout, on the page, in a component on that page, all without success.
Am i doing something wrong?
update:
when setting the auth enabled on all routers in nuxt.config.js, it does work on the index.vue page in the root.
Hi,
I have an issue where i do not get the auth to work in the index.vue page in the root of the pages folder of nuxt.
So on ALL routes everything works fine, but on the pages/index.vue it does not. So basically that is the '/' route/url of the app. I have tried to put auth in the layout, on the page, in a component on that page, all without success.
Am i doing something wrong?
update: when setting the auth enabled on all routers in nuxt.config.js, it does work on the index.vue page in the root.