Last active
July 26, 2018 09:11
-
-
Save nolimits4web/ee1bd312059bf957996c112f317e381a to your computer and use it in GitHub Desktop.
Framework7 router component
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> | |
<div class="page"> | |
<div class="navbar"> | |
<div class="navbar-inner"> | |
<div class="title">Profile</div> | |
</div> | |
</div> | |
<div class="page-content"> | |
<div class="list simple-list"> | |
<ul> | |
<li>First Name: {{user.firstName}}</li> | |
<li>Last Name: {{user.lastName}}</li> | |
<li>Age: {{user.age}}</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
</template> | |
<script> | |
return { | |
data() { | |
return { | |
user: { | |
firstName: 'John', | |
lastName: 'Doe', | |
age: 32, | |
}, | |
} | |
}, | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment