新增Route,不設定path,並將component設定NoMatch,NoMatch就是我們設定的404頁面,當沒有任何路徑匹配時會渲染的內容。 router.js import React from "react"; import { ...
確定! 回上一頁