vue add a function on click component code example Example: click event on importet component vue <u_button @click.native="clicked">Click me</u_button>