Put in order · Vue.js course · Module 1: Vue and Vite
Advanced: v-model syntax on input
Arrange the syntax of an input with two-way data binding in Vue:
Items to put in order
- v-model="message"
- placeholder="Type..."
- <input
- />
Show the answer
Correct order:
- <input
- v-model="message"
- placeholder="Type..."
- />