Skip to content

Instantly share code, notes, and snippets.

@JamieCurnow
Created October 15, 2018 23:34
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 JamieCurnow/de09446dff6bdccc855875cf5c67ee71 to your computer and use it in GitHub Desktop.
Save JamieCurnow/de09446dff6bdccc855875cf5c67ee71 to your computer and use it in GitHub Desktop.
<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