No Description

index.jsx 522B

1234567891011121314151617181920212223242526272829
  1. import React, { Component } from 'react'
  2. import { View, Text } from '@tarojs/components'
  3. import './index.scss'
  4. export default class Index extends Component {
  5. componentWillMount () { }
  6. componentDidMount () { }
  7. componentWillUnmount () { }
  8. componentDidShow () { }
  9. componentDidHide () { }
  10. render () {
  11. return (
  12. <View className='index'>
  13. <Text>Hello world!</Text>
  14. <router-view />
  15. <router-view>
  16. <view>im inside</view>
  17. </router-view>
  18. </View>
  19. )
  20. }
  21. }