A
A
Alexander Ivanov2018-07-19 13:06:39
Vue.js
Alexander Ivanov, 2018-07-19 13:06:39

Why is the transition not being made in children router in vue?

router.vuejs.org
If I uncomment the line it works.

// { path: '/customers', name: 'customers', component: Customers , view: false},  // 1
        {
            path: '/statistics', name: 'statistics', component: Statistics , view: true,
            children: [
                {
                    path: "/customers",
                    name: 'customers',
                    component: Customers,
                    view: true
                }
            ]},

127.0.0.1:8000/index#/statistics - goes
127.0.0.1:8000/index#/customers - does not go
What is the reason for this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Egorov, 2018-07-19
@cimonlebedev

127.0.0.1:8000/index#/statistics/customers ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question