Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Router: base should be passed to createHistory #14

Closed
@ishitatsuyuki

Description

@ishitatsuyuki

vue-router-next no longer accepts base as RouterOptions. It has to be specified as the parameter of createWebHistory instead.

Additionally, vue-cli currently gives '/' as BASE_URL which causes trouble as vue-router-next doesn't seem to like a base with trailing slash. Should be fixed on router side: vuejs/router#164

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