File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,18 @@ Menggunakan **reactjs** di dalam **bootstrap**.
4
4
5
5
---
6
6
7
- ### Inisialisasi file konfigurasi npm (package.json) :
7
+ ### Instalasi semua dependency dari file konfigurasi npm (package.json) :
8
+ ```
9
+ $ npm install
10
+ ```
11
+ atau inisialisasi file package.json yang baru dengan perintah :
8
12
```
9
13
$ npm init
10
14
```
11
15
12
16
### Instalasi webpack :
13
17
```
14
- $ npm i webpack -S
18
+ $ npm i webpack -D
15
19
```
16
20
17
21
### Buat file konfigurasi webpack :
@@ -55,7 +59,7 @@ $ ./node_modules/.bin/webpack -d
55
59
56
60
### Instalasi babel :
57
61
```
58
- $ npm i babel-core babel-loader babel-preset-es2015 babel-preset-react -S
62
+ $ npm i babel-core babel-loader babel-preset-es2015 babel-preset-react -D
59
63
```
60
64
61
65
### Buat file konfigurasi babel :
You can’t perform that action at this time.
0 commit comments