Created
October 15, 2018 23:34
-
-
Save JamieCurnow/de09446dff6bdccc855875cf5c67ee71 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
<template lang="html"> | |
<Page> | |
<ActionBar> | |
<GridLayout width="100%" columns="auto, *"> | |
<Label text="MENU" @tap="openDrawer()" col="0"/> | |
<Label class="title" text="Welcome to NativeScript-Vue!" col="1"/> | |
</GridLayout> | |
</ActionBar> | |
<GridLayout ~mainContent columns="*" rows="*"> | |
<Label class="message" :text="text" col="0" row="0"/> | |
</GridLayout> | |
</Page> | |
</template> | |
<script> | |
import sideDrawer from '~/mixins/sideDrawer' | |
export default { | |
mixins: [ sideDrawer ], | |
data () { | |
return { | |
text: 'Hello Home Page!' | |
} | |
} | |
} | |
</script> | |
<style lang="css"> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment