摘要: react脚手架create-react-app安装: npm install -g create-react-app 建立项目: create-react-app my-app cd my-app npm run start react 组件的定义: 阅读全文