一、ant

1-1 安装ant

  1. yarn add antd

1-2 导入组件

//index.js
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
//样式一定要配置在入口文件中
import 'antd/dist/antd.css'
ReactDOM.render(<App />, document.getElementById('root'));

//在App.js组件中使用
import {Button} from 'antd';

二、video

https://video-react.js.org/