使用 React 建立 todo list
- 安裝 Node.js 及 npm
- clone 專案到本地 3.在本地開啟後,透過終端機進入資料夾,輸入:
npm install
- 安裝完畢,繼續輸入:
npm start
- 若成功運行,則會看到底下訊息,可複製網址至瀏覽器查看:
Compiled successfully!
You can now view first_react_form in the browser.
Local: http://localhost:3000
On Your Network: http://172.20.10.2:3000
Note that the development build is not optimized.
To create a production build, use npm run build.
webpack compiled successfully
- 要停止時則按 :
ctrl + c
- Node.js
- React 18.2.0
- clsx 1.2.1
- react-router-dom 6.4.1