React脚手架(1)安装项目

脚手架环境配置 从node官网下载node 安装react脚手架环境 npm install -g create-react-app 安装react项目 用终端打开你要安装项目的父级目录html create-react-app myapp 运行项目 cd myapp npm start 入口文件 逻辑入口: src/index.js 结构入口: public/index.html 根组件: Ap
相关文章
相关标签/搜索