10 months ago

Multiple Variables returned with axios in Vue

Posted 10 months ago by twoarmtom

Hi everyone, I'm still pretty new in using Vue at this time, I can't seem to find any examples of this, but is it possible to return a response with multiple variables from a controller with an axios.get request? I'm currently using it to return one object array, but can I do two different ones?

Similar to the compact('objectarray1', 'objectarray2') performed in the Controller for returning multiple objects to a view.

Please sign in or create an account to participate in this conversation.