Skip to content

A warning appeared when passing a base path includes '#' to function createWebHashHistory #1362

@vjguo

Description

@vjguo

Version

4.0.14

Reproduction link

github.com

Steps to reproduce

call createWebHashHistory like createWebHashHistory('/#/app')

What is expected?

No warning.

What is actually happening?

A warning appeared:
[Vue Router warn]: A hash base must end with a "#":
"/#/app" should be "/#".

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