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 834 of the free egghead.io lessons, plus get JavaScript content delivered directly to your inbox!



Existing egghead members will not see this. Sign in.

Just one more step!

Check your inbox for an email from us and click link to unlock your lesson.



Dynamic Vue.js Components with the component element

1:40 JavaScript 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?