Enter Your Email Address to Watch This Lesson

Your link to unlock this lesson will be sent to this email address.

Unlock this lesson and all 986 of the free egghead.io lessons, plus get Vue.js content delivered directly to your inbox!



Existing egghead members will not see this. Sign in.

Dynamic Vue.js Components with the component element

1:40 Vue.js lesson by

You can dynamically switch between components in a template by using the reserved <component> element and dynamically bind to its is attribute. By using <keep-alive> you can tell Vue to keep the component in memory.

Get the Code Now
click to level up

egghead.io comment guidelines

Avatar
egghead.io

You can dynamically switch between components in a template by using the reserved <component> element and dynamically bind to its is attribute. By using <keep-alive> you can tell Vue to keep the component in memory.

Avatar
Vamshi

Thank you Greg !! Excellent series!!

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?