Coding task · Vue.js course · Module 15: TypeScript & Nuxt
Use ref<HTMLInputElement | null> to control an input.
Define a template ref with the correct type and use it in onMounted.