本文共 571 字,大约阅读时间需要 1 分钟。
npm 安装
npm install -g cnpm --registry=https://registry.npm.taobao.orgnpm config set registry https://registry.npm.taobao.org
cnpm install -g create-react-app
create-react-app my-app
cd my-app/
npm start
import logo from './logo.svg';import './App.css';function App() { return ();}export default App;![]()
欢迎来到菜鸟教程
Edit
Learn Reactsrc/App.js
and save to reload.
修改后的效果
转载地址:http://wnbzz.baihongyu.com/