Coding task · Vue.js course · Module 2: Template Syntax

Practice: Template Refs

Access the DOM like an engineer reaching into the low-level systems of the station.

Task

Use a template ref to automatically focus an input after the component mounts.