Skip to content

{ history: false } adding hash to links. #335

@crswll

Description

@crswll

history: false is behaving differently in 0.7.8 than it has in the past.

Here's the setup:

var router = new VueRouter({
  history: true
})

router.map({
    '/': {
        component: Home,
        name: 'home'
    },
    '/about': {
        component: About,
        name: 'about'
    }
})

The links are being created using v-link="{ name: 'about' }".

The link created in 0.7.8 is /about#about (https://jsfiddle.net/x1o95z9u/5/)
The link created in 0.7.7 is /about (https://jsfiddle.net/x1o95z9u/6/)

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