摘要: 1.安装脚手架 npm install -g create-react-app (全局安装时应在cmd下执行命令) 2.创建项目 create-react-app myapp 3.启动 npm start 4.元素渲染 let h1 = <h1>hellow</h1> 使用jsx语法创建js元素对象 阅读全文
posted @ 2020-09-22 23:39 PiPai 阅读(812) 评论(0) 推荐(0) 编辑