# React專案建立的步驟: ###### tags: `React` 0. 安裝node https://nodejs.org/en/ 安裝完成後,用 cmd 輸入 node,就可以看到安裝的版本。 ![](https://i.imgur.com/rwWqUED.png) node有個npm工具,是安裝套件的重要工具。 2. 安裝yarn,重新啟動VScode https://classic.yarnpkg.com/en/docs/install#windows-stable 或是直接下載setup.exe安裝也可 ``` 開啟cmd,npm install --global yarn ``` 2. 建立react專案 https://create-react-app.dev/docs/getting-started/ ``` 用VS Code開啟資料夾,目標資料夾內cmd npx create-react-app 專案名稱 EX:用VS Code 開啟 Akira/practice,新增終端,npx create-react-app netflix ```