Skip to content

$route.matched returns the empty path when the path is / #3734

@Hill-98

Description

@Hill-98

Version

3.5.3

Reproduction link

codesandbox.io

Steps to reproduce

  1. Open the reproduction link
  2. View console output

What is expected?

$route.matched[0].path = "/"

What is actually happening?

$route.matched[0].path = ""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions