相关疑难解决方法(0)

Nuxt SSR - i can't check if a user is authenticated

I'm trying to work on a Nuxt SSR frontend that uses a Django backend with Session Authentication. I would like to have some SSR pages as well as client rendered pages in my frontend, so i'm using Universal mode.

The problem is that i did not find a working approach to check if a user is authenticated before loading a page, so i can't restrict pages to anonymous users. In order to check if a user is authenticated, Django …

vue.js nuxt.js

5
推荐指数
1
解决办法
2093
查看次数

标签 统计

nuxt.js ×1

vue.js ×1