[Vuejs]-How to pass data in array in axios reponse

0👍

ususally you want to send the response like:

class HomeController{

  public function someFunc(){
    ...
    ...
   return response()->json([
      'array1'=> [], 
      'array2'=>[],
    ]);
  }
}

Leave a comment