Created
January 21, 2019 17:19
-
-
Save yyx990803/971e31b08b928c7886dde797291e59ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SomeComponent> | |
<template #header> | |
<div>Header message</div> | |
</template> | |
<template #item="{ item }"> | |
<div class="item">{{ item.text }}</div> | |
</template> | |
<template #footer> | |
<div>Footer message</div> | |
</template> | |
</SomeComponent> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks great , guessed it right away. The # is good because it is associated with id. this will be a great shorthand addition