feat: 增加 TypeScript 默认模板

This commit is contained in:
fxy060608
2019-01-04 18:13:10 +08:00
parent 17e4396c78
commit 5d6e63dca4
13 changed files with 329 additions and 144 deletions
+19
View File
@@ -0,0 +1,19 @@
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
mpType: 'app',
onLaunch() {
console.log('App Launch')
},
onShow() {
console.log('App Show')
},
onHide() {
console.log('App Hide')
}
});
</script>
<style>
/*每个页面公共css */
</style>