https://en.wikipedia.org/wiki/HTML_element#syntax
<button>Click Me</button>
https://reactjs.org/docs/components-and-props.html
<button class="default">{{ text }}</button>
<template>
</template>
Button
"Click Me"
<BaseButton text="Click Me"/>
prop
BaseButton Example
BaseButton Example
<button @click="sayHi"/>Click Me</button>
Basic Button Click Event Example
Basic Button Click Event Example
https://vuejs.org/v2/guide/components.html#Composing-Components
<BaseButton/>Click Me</BaseButton>
<template>
<BaseButton>
<Star/> Star
</BaseButton>
</template>
<BaseButton>
</BaseButton>
Left Section
Right Section
https://codesandbox.io/s/428177wp5x
https://vuejs.org/v2/guide/components.html#Props
https://vuejs.org/v2/guide/components.html#Custom-Events
https://vuejs.org/v2/guide/components.html#Content-Distribution-with-Slots