Published On Jan. 12th 2017

Learn Vue 2: Step By Step: SPAs and the Backend

Episode 27 Run Time 15:01

Download
A single-page application still needs to fetch its data from somewhere. In this episode, we'll work with Laravel a bit to build up a Status model, and its associated data. Then, once we register the necessary route endpoint, we can return this data as JSON. This way, Vue and Axios can easily fetch the data they require from our server.