From the course: Vue.js 2 Essential Training

Unlock the full course today

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

Creating route links

Creating route links

From the course: Vue.js 2 Essential Training

Start my 1-month free trial

Creating route links

- [Instructor] Let's finish things up by cleaning up our application and adding additional links to the different sections. So right now, you can see that because of the way that the router is managing things, we don't really need to import these products and checkout into this App.vue components. Let's go ahead and get rid of that and it will be nice if we reorganize this a little bit. So I'm just going to move all the events down to the bottom, it just makes it a little bit cleaner to work with the events this way. So in addition to that, because I'm not importing those two components, I can get rid of this components section here in my export and other than that, I need to go ahead and add links to my different places. So for example, if I add a few things here, what I want is a link to go to the checkout right here. And once I have the checkout, I need a link back into this homepage. So, let's go ahead and start out by…

Contents