繁花如伊
1、把组件import进来123import { MyComponent1 } from 'components/MyComponent1 'import { MyComponent2 } from 'components/MyComponent2 'import { MyComponent3 } from 'components/MyComponent3 '2、render方法调用组件1234567render() { <div> <MyComponent1 /> <MyComponent2 /> <MyComponent3 /> </div>}