This lesson is for members. Join us?
Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.
Sharing Components Between Multiple Pages
The Composition API Masterclass is coming soon!
Sign-up for the Vue.js Masterclass 2024 Edition.
In this lesson, we'll learn how to share one Page component between two routes and show different components on the page based on which route is active.
The goal is to use the Profile component to show the UserProfileCard as well as being able to switch to an editor component when the user wants to update his profile.
