初始化项目
npx create-react-app my-app // 或 npm init react-app my-app // 或 yarn create react-app my-app
启动项目
cd my-app npm start // 或 yarn start