Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
router.resolve({ pathname: location.pathname, query: {}, client: true }).then(route => {
merge(route.component, '#app>div', { data: route.data })
})
}