Skip to content

Document that vue-router does not handle head/metadata like page title #1539

Open
@Soviut

Description

@Soviut

What problem does this feature solve?

A colleague who is new to Vue expected that vue-router would be able to update the page title; this makes some sense. Vue-router introduces the concept of pages, so there could be an expectation that it also has facilities for updating the page metadata.

It would be good to document that vue-router does not have these facilities, but also link to something like @vueuse/head that can.

What does the proposed API look like?

A new page in the documentation guides that explains that vue-router does not handle metadata, but gives examples and links to some populate head/metadata libraries like @vueuse/head.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsConcerns the documentation content or the documentation website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions