Click in order · Vue.js course · Module 1: Vue and Vite

Advanced: Importing ref from Vue syntax

Arrange the correct import of the ref function from Vue:

Items to click

  • import
  • 'vue'
  • from
  • { ref }
Show the answer

Correct order:

  1. import
  2. { ref }
  3. from
  4. 'vue'