1.安装react
首先你要确定已经安装node.js
npx create-react-app my-app or yarn create react-app my-app
cd my-app
npm start or yarn start
安装成功后:
执行npm start来启动项目 ,会自己跳转到http://localhost:3000/,
首先你要确定已经安装node.js
npx create-react-app my-app or yarn create react-app my-app
cd my-app
npm start or yarn start
安装成功后:
执行npm start来启动项目 ,会自己跳转到http://localhost:3000/,