Skip to content

prev/next buttons on vite@next #5075

@sombriks

Description

@sombriks

Describe the bug

prev/next buttons not working. all pages show only the next button, pointing always to the first page.

Reproduction

see the project here
https://github.com/sombriks/my-cpp-handbook/blob/main/docs/.vitepress/config.mts

its published here
https://cpp-handbook.sombriks.net/exercises/0002-basic-input/

there is no prev button at the bottom, and the next points to the wrong page

Expected behavior

i expected to get prev/next buttons automatically

System Info

all i have is 
    "vitepress": "^2.0.0-alpha.15"

nothing else installed

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions