0
Q:

retore react app

npx create-react-app my-app
cd my-app
npm start
-3
//open terminal and run this code
create-react-app newreact
//it will install all the packages
1
yarn add create-react-app OR npm install create-react-app
npx create-react-app my-app
cd my-app
npm start
1
//maske sure node js is installed on Mac
>brew update
>brew install node

>npm install -g create-react-app
>create-react-app ProjectName 
>cd ProjectName
>npm i bootstrap tachyons // for bootstrap and tachyons css libraries
>npm i react-router-dom //installing common hooks in react
>npm i firebase       // install firebase

//for import in your index.js
import 'tachyons';
import 'bootstrap/dist/css/bootstrap.min.css';
import * as firebase from 'firebase'
1

New to Communities?

Join the community