美文网首页
用create-react-app搭建react项目

用create-react-app搭建react项目

作者: lucky_果果 | 来源:发表于2019-08-01 14:08 被阅读0次

描述:新建一个my-app的项目,放在study目录下。

第一步:全局安装create-react-app

具体操作:在目录study下打开命令行工具(git bash),npm install create-react-app -g

第二步:初始化项目my-app

具体操作:create-react-app my-app (耐心等待)

第三步:打开项目

具体操作:cd my-app(进入到my-app项目的目录内),npm star(等待项目启动)

相关文章

网友评论

      本文标题:用create-react-app搭建react项目

      本文链接:https://www.haomeiwen.com/subject/crmqdctx.html