[Vuejs]-Prevent axios get request outside component

0👍

you should use api authentication,
you have two way:

  1. use laravel api-authentication ( add api-key field in your user table and send it for any request )
  2. use laravel passport ( recommended )

Leave a comment