create-react-app中按需引入Ant-Design

先來回顧一下create-react-app腳手架建立項目的方法css //安裝create-react-app腳手架 npm i create-react-app -g //建立項目 create-react-app antd-demo //啓動項目 npm start 安裝Ant-Designnode npm i antd -S 按需引入Ant-Design插件react 這裏須要用到兩個插件
相關文章
相關標籤/搜索