Click in order · Vue.js course · Module 8: Slots & Dynamic Components

KeepAlive with include

Arrange the code for KeepAlive limited to selected components:

Items to click

  • :include="['OxygenPanel', 'WaterPanel']">
  • <KeepAlive
  • <component :is="currentTab" />
  • </KeepAlive>

You can check the correct answer by solving this task in the CodeWorlds game.