Skip to content

Instantly share code, notes, and snippets.

@andreliem
Created June 11, 2018 22:44
Show Gist options
  • Save andreliem/879208724a4bff02ed5134f497c6348a to your computer and use it in GitHub Desktop.
Save andreliem/879208724a4bff02ed5134f497c6348a to your computer and use it in GitHub Desktop.
<template>
<Page class="page">
<ActionBar class="action-bar" title="Sample Page">
<NavigationButton text="Go Back" android.systemIcon="ic_menu_back" @tap="$router.push('/home')"/>
</ActionBar>
<StackLayout class="hello-world">
<Label class="body" textWrap=true text="text"/>
</StackLayout>
</Page>
</template>
<script>
export default {
data () {
return {
text: "I am sample text"
};
},
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment