18 lines
430 B
TypeScript
18 lines
430 B
TypeScript
import Layout from '@/components/layout/Layout'
|
|
import { View, Text } from '@tarojs/components'
|
|
import { useLoad } from '@tarojs/taro'
|
|
|
|
export default function Index () {
|
|
useLoad(() => {
|
|
console.log('Page loaded.')
|
|
})
|
|
|
|
return (
|
|
<Layout loadding>
|
|
<View className='h-[200px] text-center leading-[200px] bg-red-500 text-white text-2xl'>
|
|
<Text>Hello world!</Text>
|
|
</View>
|
|
</Layout>
|
|
)
|
|
}
|