From 54b5af0741ef7241031a55df37460b144c9ba251 Mon Sep 17 00:00:00 2001 From: sota1235 Date: Fri, 7 Apr 2017 14:39:10 +0900 Subject: [PATCH] modify: update docs --- docs/build.md | 6 +++--- docs/jp/build.md | 6 +++--- docs/ko/build.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/build.md b/docs/build.md index 0164667e..a081038b 100644 --- a/docs/build.md +++ b/docs/build.md @@ -8,16 +8,16 @@ You can use following commands to use default configuration at the top of projec Install requirement packages. ``` -$ npm install +$ yarn ``` Build codes and run. ``` -$ npm run dev-start +$ yarn run dev-start ``` -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. +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. And webpack will watch the code changes and apply it automatically. diff --git a/docs/jp/build.md b/docs/jp/build.md index 15236310..75275181 100644 --- a/docs/jp/build.md +++ b/docs/jp/build.md @@ -8,16 +8,16 @@ Webpack HRMを使います。 依存するパッケージをインストールします。 ``` -$ npm install +$ yarn ``` ビルドして実行します。 ``` -$ npm run dev-start +$ yarn run dev-start ``` -このコマンドは `npm run webpack` と `npm run hot`を並列に実行します。つまりこのコマンドは2つのターミナルで同時にこれらのコマンドを実行するのと同じことです。 +このコマンドは `yarn run webpack` と `yarn run hot`を並列に実行します。つまりこのコマンドは2つのターミナルで同時にこれらのコマンドを実行するのと同じことです。 そして、Webpackが自動的にコードの変更を確認し、それを適用してくれるようになります。 diff --git a/docs/ko/build.md b/docs/ko/build.md index 01d3c2e7..59178c78 100644 --- a/docs/ko/build.md +++ b/docs/ko/build.md @@ -6,7 +6,7 @@ Webpack HRM을 개발을 위해 사용합니다. 다음 명령을 통해 저희가 해둔 설정을 사용 할 수 있습니다. ``` -npm run webpack +yarn run webpack ``` 몇 초 후, 다음 메세지를 보게 될겁니다. @@ -18,10 +18,10 @@ webpack: bundle is now VALID. 그럼 앱을 실행합시다. ``` -npm run hot +yarn run hot ``` -> 원래 앱은 `npm start`로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다. +> 원래 앱은 `yarn start`로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다. 이로써 웹팩이 자동적으로 코드변경을 확인하고 적용해줄 것입니다.