Skip to content

Make automatically added trailing slash in base optional #2865

Closed
@tychenjiajun

Description

@tychenjiajun

What problem does this feature solve?

We use the following base config

base: /page/index.html

what we want in href generated by

<a href="/page/index.html#/foo"/></a>

what we have now

<a href="/page/index.html/#/foo"/></a>

What does the proposed API look like?

base: {
    url: '/page/index.html'
    trailingSlash: false
}

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