美文网首页
1-react脚手架搭建

1-react脚手架搭建

作者: DouDouZH | 来源:发表于2020-12-04 11:43 被阅读0次

一、安装cnpm配置淘宝镜像

npm install -g cnpm --registry=https://registry.npm.taobao.org
npm config set registry https://registry.npm.taobao.org

二、安装create-react-app

cnpm install -g create-react-app

三、初始化项目

create-react-app my-app
cd my-app/
dcd npm start

http://localhost:3000/查看

相关文章

网友评论

      本文标题:1-react脚手架搭建

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