close
vs code
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
}
才能用emmet vue
2.csrf token
要加
<meta name="csrf-token" content="{{ csrf_token() }}">
3.laravel 422 json
.catch((error)=>{console.log(error);});
just get Error: Request failed with status code 422 at createError (app.js:717) at settle (app.js:3826) at XMLHttpRequest.handleLoad (app.js:557)
When I try .catch((error)=>{console.log(error.response.data);}); I got json...... so odd
4.
function __construct(){
$this->middleware('jwt.auth');
}
5.
?token=token
全站熱搜