From the course: Vue.js 2 for Web Designers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Incorporating live data via REST APIs

Incorporating live data via REST APIs - Vue.js Tutorial

From the course: Vue.js 2 for Web Designers

Start my 1-month free trial

Incorporating live data via REST APIs

- [Instructor] Over the course of the next several videos, we're going to start creating a little status update app for a fictitious hotel website, the Landon Hotel. We're going to interface with a small and simple API to retrieve messages and post new ones, and we're going to delve a little deeper into views components. So let's take a look at this mock-up first. I've loaded it up in my browser. If I scroll down, here's my status updates mock-up. We have a little form here that's going to post status updates from various parts of the hotel over here, with who it's from and the date and time. So let's look at this and think about the components we're going to need. We'll have our view instance that'll wrap everything of course, then we'll have the post form over here, which will be it's own component. Because we're trying to keep things relatively simple architecturally and the form isn't huge, we don't have to create any more components in here. Then over here we'll have a component…

Contents