-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
66 lines (35 loc) · 1.05 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
instead of globally using create-react-app
first uninstall
sudo npm uninstall -g create-react-app
sudo npm uninstall create-react-app
we can use yarn to do this
we have three alternatives
1) npx create-react-app confusion
2) npm init react-app confusion
3) yarn create react-app confusion
git reset --hard <log_number>
git log --oneline | cat >
git log --oneline | cat > commit_hist.txt
git checkout <log_number>
Setting a new Project
npx create-react-app confusion
npm start / yarn start
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
yarn add [email protected]
Add this to index.js in src folder
import 'bootstrap/dist/css/bootstrap.min.css';
git init
git add .
git commit -m "Initial Commit"
npm install json-server -g
json-server --watch db.json -p 3001 -d 2000
npm run build / yarn build