返回顶部
摘要: ### 首先安装react的脚手架 cnpm install create-react-app -g 只需要在电脑下载安装一次即可 ###创建项目 create-react-app 项目名(xx) ###进入项目(xx),运行项目 npm start 或者下载cnpm install yarn -- 阅读全文
posted @ 2019-11-03 20:01 焚心~ 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: ###第一步 :首先电脑上已经安装react的脚手架 cnpm install create-react-app -g ###第二步 :创建项目 creact-react-app 项目名(shopping) ###第三步:进入项目,看看项目是否可以正常运行 cd shopping > npm sta 阅读全文
posted @ 2019-11-03 19:39 焚心~ 阅读(1008) 评论(0) 推荐(0) 编辑