0👍
If your Vue app is under protection of ‘auth’ middleware, you won’t be able to reach it before login. Where you need Vue component use web middleware. But to be able to fetch data by Vue component, you will still need a token protection like Sanctum.
Source:stackexchange.com