In my Laravel 5.8 / "vue": "^2.6.10"/ app I need to open url in other tab in js code. I found example
let routeData = this.$router.resolve({name: 'routeName', query: {data: "someData"}});
window.open(routeData.href, '_blank');
here Can vue-router open a link in a new tab?
but implementing it I did not find valid way :
let routeData = this.$router.resolve(  {name: 'editHostel', query: {params: { id : 48 } }  });
            OR
let routeData = this.$router.resolve(  {name: 'editHostel', query: {id: date.id}}  );
        window.open(routeData.href, '_blank');
in both case generated url was invalid.
In resources/js/routes.js I have :
{
    path: '/admin/hostels',
    component: hostelsContainer,
    meta: {
        requiresAuth: true,
        authGroupsAccess: ['Admin', 'Manager'],
    },
    children: [
        {
            path: '/admin/hostels/',
            component: hostelsList,
            name: 'listHostels'
        },
        {
            path: '/admin/hostels/new',
            component: editHostel,
            name: 'newHostel'
        },
        {
            path: ':id',
            component: editHostel,
            name: 'editHostel'
        },
Which way is valid ?
 
    