Go ProSign in
Autoplay
Hide playlist

    Dynamic Vue.js Components with the component element

    Greg ThomanGreg Thoman
    1:40

    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.

    You must be a Member to view code