Skip to content

Instantly share code, notes, and snippets.

@Aternus
Created April 27, 2020 11:44
Show Gist options
  • Save Aternus/97a4913f72f76426a27e5c1047d4fbca to your computer and use it in GitHub Desktop.
Save Aternus/97a4913f72f76426a27e5c1047d4fbca to your computer and use it in GitHub Desktop.
v-bind Vue
<template functional>
<button
class="btn btn-primary"
v-bind="data.attrs"
v-on="listeners"
>
<slot/>
</button>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment