Skip to content

Instantly share code, notes, and snippets.

@nitaking
Created June 25, 2018 00:47
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 nitaking/6b7fd0537f3de171a148f20c15af275c to your computer and use it in GitHub Desktop.
Save nitaking/6b7fd0537f3de171a148f20c15af275c to your computer and use it in GitHub Desktop.
<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