(三)React+.Net+Typescript全栈(动态Router/Redux/RTK Query获取后端素材)
文章目录
项目地址
- 教程作者:
- 教程地址:
- 代码仓库地址:
- 所用到的框架和插件:
dbt
airflow
一、Router

1.1 创建Router
1. 页面
- 伪页面
![在这里插入图片描述]()
2. 创建路由
Router.txs里创建路由规则
3. Outlet子路由使用
1. 基本使用
- 在App.txs里直接使用
![在这里插入图片描述]()
2. 嵌套使用
- 如果在子路由里还有其他的子路由
- 例如
{
path: "/dashboard",
element: <DashboardLayout />
,
children: [
{
path: "profile", element: <ProfilePage />
},
{
path: "settings", element:</



浙公网安备 33010602011771号