Skip to content

Instantly share code, notes, and snippets.

@adi518
Last active November 21, 2017 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adi518/5cada72106fc1ddad26f1b8dc3974430 to your computer and use it in GitHub Desktop.
Save adi518/5cada72106fc1ddad26f1b8dc3974430 to your computer and use it in GitHub Desktop.
<template>
<v-button v-on="$listeners">
<slot/>
</v-button>
</template>
<script>
// Abstract
import Button from './Button.bare'
// Implementation
export default {
components: {
vButton: Button
},
props: {
...Button.props
}
}
</script>
<style lang="scss" scoped>
@import './Button';
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment