[Vuejs]-Vue + axios : has been blocked by CORS policy

2👍

CORS issue should be solved on the backend-side.
If you are using Lumen for backend, please make sure you installed Laravel-Cors
https://github.com/spatie/laravel-cors
Then set allowed_origins to * in the config/cors.php file.

...

'allowed_origins' => ['*'],

...

Leave a comment