umi搭建react+antd項目(五)子組件編寫

上一篇在index.js裏面寫了一個組件,不是很友好,咱們如今分開寫組件react 1.新建component文件夾用於放置組件,src/component,新建list組件ios import React, {Component} from 'react'; export default class List extends Component { constructor(props) {
相關文章
相關標籤/搜索