Created
December 13, 2018 09:46
-
-
Save shailen-naidoo/b78f76bf5922152fb82a08f6f17be1f8 to your computer and use it in GitHub Desktop.
Menu
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
<template> | |
<menu> | |
<menu-item>Hello World</menu-item> // other markup can be nested inside MenuItem | |
<menu-item>Hello World</menu-item> | |
</menu> | |
</template> | |
<script> | |
import Menu from "./Menu.vue"; | |
import MenuItem from "./MenuItem.vue"; | |
export default { | |
components: { | |
Menu, | |
MenuItem | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment