feat: init

This commit is contained in:
eric
2022-11-12 14:46:03 +02:00
parent d3ae469a7d
commit fa3b76de1f
16 changed files with 358 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export default definePageConfig({
navigationBarTitleText: '首页'
})

View File

24
src/pages/index/index.tsx Normal file
View File

@@ -0,0 +1,24 @@
import { Component, PropsWithChildren } from 'react'
import { View, Text } from '@tarojs/components'
import './index.less'
export default class Index extends Component<PropsWithChildren> {
componentWillMount () { }
componentDidMount () { }
componentWillUnmount () { }
componentDidShow () { }
componentDidHide () { }
render () {
return (
<View className='index'>
<Text>Hello world!</Text>
</View>
)
}
}