Created
June 25, 2018 00:47
-
-
Save nitaking/6b7fd0537f3de171a148f20c15af275c 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> | |
<view class="container"> | |
<view class="main"> | |
<text-input /> | |
</view> | |
</view> | |
</template> | |
<script> | |
import TextInput from './src/TodoInput'; | |
export default { | |
components: { | |
TextInput | |
} | |
} | |
</script> | |
<style> | |
.container { | |
background-color: #333; | |
flex: 1; | |
padding-top: 40px; | |
align-items: center; | |
} | |
.main { | |
flex: 1; | |
max-width: 400px; | |
align-items: center; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment