⏰ 10 mins
<aside>
💡 If you haven’t already set up the boilerplate code, do so now with these instructions
</aside>
- Open the following file:
@/src/views/exercises/1-begin.vue
- Use v-model within this Single File Component (SFC) to bind the
name data to an input
- Use v-model within this Single File Component (SFC) to bind the
item data to an input
- Also, display the sentence text:
Hello {{ name }}! Do you like {{ item }}? where item and name update dynamically based on what’s in the input
- By the end of the exercise, you should have something that looks like this.
exercise-1.mp4
Helpful Resources
- Vue.js Docs v-model Basic Usage