Click in order · Vue.js course · Module 3: Reactivity
Creating a reactive form
Arrange the steps for creating a reactive form in the correct order.
Items to click
- @submit.prevent="submit"
- v-model="form.name"
- const submit = () => { console.log(form) }
- const form = reactive({ name: '', email: '' })
You can check the correct answer by solving this task in the CodeWorlds game.