Skip to content

路由支持静态数据 #6

@StringKe

Description

@StringKe

csr 应用中,通过 useApp 拿到所有路由后,还需要额外组合 title 的数据才能完成,这些 title 的 metadata 数据本身和页面高度相关。

https://github.com/tanstack/router 支持一个 staticData 的参数,可以往里面放一些比如 title 之类的数据。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions