用官方脚手架搭建react开发环境 REACT

shuke 2021-11-23 786

React 是一个用于构建用户界面的 JAVASCRIPT 库。 React主要用于构建UI,很多人认为 React 是 *MVC 中的 V(视图)*。 React 起源于 Facebook 的内部项目,用来架设 Instagram 的网站,并于 2013 年 5 月开源。 React 拥有较高的性能,代码逻辑非常简单,越来越多的人已开始关注和使用它。

官方网站:https://reactjs.org/ 

中文文档 :http://doc.react-china.org/ 

中文社区:http://react-china.org/


1. npx create-react-app 项目名称 

2. 进入项目根目录,并启动项目

cd 项目目录
yarn start

官方脚手架中文文档:https://www.html.cn/create-react-app/docs/getting-started/

最新回复 (0)
全部楼主
返回