Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
> Lesson 33

Rendering pages in a Vue app

In the last lesson, we set up the Vue Router plugin and provided configuration for our home route.

In this lesson, we'll render the output of the router within our app.

RouterView component

When the Vue Router plugin was installed, a global component RouterView is registered. This component is used to output the router content wherever it is placed.

So let's add this component to our index.html file where we previously extracted the home page content:


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom