0👍
In lumen app: create a route for example “api/config” by auth middleware that return base user info.
In front app: before start app check response from api/config. if has user info response access to the dashboard.
pay attention to adding auth middleware on all of admin api in lumen.
- [Vuejs]-Vue: Importing SCSS only if a component gets created
- [Vuejs]-How to import extrenal library on mounted hook in Nuxt Js?
Source:stackexchange.com