Skip to content

Instantly share code, notes, and snippets.

@zwacky
Created October 26, 2019 07:24
Show Gist options
  • Save zwacky/b66f83ea783a9d366ef6298324fdcf2a to your computer and use it in GitHub Desktop.
Save zwacky/b66f83ea783a9d366ef6298324fdcf2a to your computer and use it in GitHub Desktop.
<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