0👍
Try returning a bona fide JSON response from Laravel:
return response()->json(['message'=>'Form created']);
Then on your front-end you’ll be able to get your message property from response.data .
- [Vuejs]-Build a Vue component for "unpkg"
- [Vuejs]-Create Global Function For Checking If LocalStorage is not empty – Vue.JS
Source:stackexchange.com