在 angular 應用程式中,我們通過配置 router 的方式來切換 spa 不同的頁面
在配置前,請先確保
index.html 的 head 區域有配置 <base href=""> 路由的配置檔案會在
app.route.ts 進行配置在
app.config.ts 中使用 provideRouter 引用配置