Select all text in input field on click the Vue JS way

Comparing the traditional javascript way with the Vue event you can use.

Traditionally in javascript you would do something like this.

<input onClick=";" value="select me" />

This still works in a Vue app, but you probably want to do something like this to achieve the same.

<input @focus="$" value="select me" />