File tree Expand file tree Collapse file tree 4 files changed +6683
-9
lines changed Expand file tree Collapse file tree 4 files changed +6683
-9
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ You can use following commands to use default configuration at the top of projec
8
8
Install requirement packages.
9
9
10
10
```
11
- $ npm install
11
+ $ yarn
12
12
```
13
13
14
14
Build codes and run.
15
15
16
16
```
17
- $ npm run dev-start
17
+ $ yarn run dev-start
18
18
```
19
19
20
- This command runs ` npm run webpack` and ` npm run hot` in parallel. It means it is the same thing to run those commands in 2 terminals.
20
+ This command runs ` yarn run webpack` and ` yarn run hot` in parallel. It means it is the same thing to run those commands in 2 terminals.
21
21
22
22
And webpack will watch the code changes and apply it automatically.
23
23
Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ Webpack HRMを使います。
8
8
依存するパッケージをインストールします。
9
9
10
10
```
11
- $ npm install
11
+ $ yarn
12
12
```
13
13
14
14
ビルドして実行します。
15
15
16
16
```
17
- $ npm run dev-start
17
+ $ yarn run dev-start
18
18
```
19
19
20
- このコマンドは ` npm run webpack` と ` npm run hot` を並列に実行します。つまりこのコマンドは2つのターミナルで同時にこれらのコマンドを実行するのと同じことです。
20
+ このコマンドは ` yarn run webpack` と ` yarn run hot` を並列に実行します。つまりこのコマンドは2つのターミナルで同時にこれらのコマンドを実行するのと同じことです。
21
21
22
22
そして、Webpackが自動的にコードの変更を確認し、それを適用してくれるようになります。
23
23
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Webpack HRM을 개발을 위해 사용합니다.
6
6
다음 명령을 통해 저희가 해둔 설정을 사용 할 수 있습니다.
7
7
8
8
```
9
- npm run webpack
9
+ yarn run webpack
10
10
```
11
11
12
12
몇 초 후, 다음 메세지를 보게 될겁니다.
@@ -18,10 +18,10 @@ webpack: bundle is now VALID.
18
18
그럼 앱을 실행합시다.
19
19
20
20
```
21
- npm run hot
21
+ yarn run hot
22
22
```
23
23
24
- > 원래 앱은 ` npm start` 로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다.
24
+ > 원래 앱은 ` yarn start` 로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다.
25
25
26
26
이로써 웹팩이 자동적으로 코드변경을 확인하고 적용해줄 것입니다.
27
27
You can’t perform that action at this time.
0 commit comments