diff --git a/exercises/hello_react/problem.en.md b/exercises/hello_react/problem.en.md index 3669032..eafb99a 100644 --- a/exercises/hello_react/problem.en.md +++ b/exercises/hello_react/problem.en.md @@ -8,7 +8,7 @@ You can change `learnyoureact` to any name you like. Start by installing the required modules. Run this command: -`$ npm install react react-dom express body-parser express-react-views@0.9.0 babel@5.8.23` +`$ npm install --save react react-dom express body-parser express-react-views@0.9.0 babel@5.8.23` You can see `node_modules` directory maked. Files of module is in the directory. @@ -18,8 +18,9 @@ Folder structure is below. ``` learnyoureact -├── program.js -└── node_modules +├── node_modules/ +├── package.json +└── program.js ``` Copy the code below into `program.js`. diff --git a/exercises/hello_react/problem.ko.md b/exercises/hello_react/problem.ko.md index 0e96e7c..3dd5b3a 100644 --- a/exercises/hello_react/problem.ko.md +++ b/exercises/hello_react/problem.ko.md @@ -9,7 +9,7 @@ package.json 하여 npm 은 어느 폴더에 패키지 를 설치 하거나 판 필요한 모듈을 설치하려면 밑의 명령을 실행해 보세요. -`$ npm install react react-dom express body-parser express-react-views@0.9.0 babel@5.8.23` +`$ npm install --save react react-dom express body-parser express-react-views@0.9.0 babel@5.8.23` 이제 `node_modules` 디렉터리가 만들어진 것을 볼 수 있습니다. @@ -17,8 +17,9 @@ package.json 하여 npm 은 어느 폴더에 패키지 를 설치 하거나 판 ``` learnyoureact -├── program.js -└── node_modules +├── node_modules/ +├── package.json +└── program.js ``` `program.js`에 다음 코드를 복사하세요. diff --git a/exercises/hello_react/problem.md b/exercises/hello_react/problem.md index dd4f154..14a90ba 100644 --- a/exercises/hello_react/problem.md +++ b/exercises/hello_react/problem.md @@ -10,7 +10,7 @@ package.jsonによって、npmはどのフォルダにパッケージをイン それができたら、そのフォルダの中にモジュールをインストールしましょう。 以下のコマンドを実行してください。 -`$ npm install react react-dom express body-parser express-react-views@0.9.0 babel@5.8.23` +`$ npm install --save react react-dom express body-parser express-react-views@0.9.0 babel@5.8.23` `node_modules` というフォルダが作成されたかと思います。その中にモジュールのフォルダがあります。 @@ -19,8 +19,9 @@ package.jsonによって、npmはどのフォルダにパッケージをイン ``` learnyoureact -├── program.js -└── node_modules +├── node_modules/ +├── package.json +└── program.js ``` `program.js` には以下のように記述してください。