File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -168,12 +168,9 @@ TypeScriptを使用してReactのWebアプリケーションを作成する場
168
168
169
169
### 簡単にプロジェクトをセットアップする
170
170
171
- まず、Create React Appをインストールします。npmを利用して、` npm i -g create-react-app ` というコマンドでローカルPCにグローバルにインストールできます。
172
-
173
- Create React Appのインストールができたら、[ Reactの公式Webサイト] ( https://reactjs.org/docs/static-type-checking.html#using-typescript-with-create-react-app ) に書かれているように` npx create-react-app my-app --template typescript ` というコマンドを実行します。` my-app ` の部分には、プロジェクトに利用するフォルダ名を指定します。これで、最初からTypeScriptを利用可能なプロジェクトを簡単に作成できます。
171
+ [ Reactの公式Webサイト] ( https://reactjs.org/docs/static-type-checking.html#using-typescript-with-create-react-app ) に書かれているように` npx create-react-app my-app --template typescript ` というコマンドを実行します。` my-app ` の部分には、プロジェクトに利用するフォルダ名を指定します。これで、最初からTypeScriptを利用可能なプロジェクトを簡単に作成できます。
174
172
175
173
``` text
176
- npm i -g create-react-app
177
174
npx create-react-app my-app --template typescript
178
175
cd my-app
179
176
npm start # または、yarn start
You can’t perform that action at this time.
0 commit comments