2laravel.dev/api/todo/8/completed:1 PATCH http://laravel.dev/api/todo/8/completed
:8080/#/:1 XMLHttpRequest cannot load http://laravel.dev/api/todo/8/completed. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. The response had HTTP status code 429.
createError.js?f777:15 Uncaught (in promise) Error: Network Error(…)
Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access.
XMLHttpRequest cannot load http://127.0.0.1/laravel/public/api/todo/10/completed. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. The response had HTTP status code 403.
<ul><li:class="getClass(item)"v-for="(item,index) in list" @click="completeToggle(item)">{item.body}<button @click.stop="del(index)">del</button><button><router-link:to="{name:'TodoDetail',params:{id:item.id}">detail</router-link></button></li></ul>