Put in order · Vue.js course · Module 6: Components

Import elements from vue

Arrange the correct import of ref and onMounted from Vue:

Items to put in order

  • from
  • import
  • { ref, onMounted }
  • 'vue'

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