@nuxt/vue-app
Advanced tools
Comparing version 2.15.6 to 2.15.7
/*! | ||
* @nuxt/vue-app v2.15.6 (c) 2016-2021 | ||
* @nuxt/vue-app v2.15.7 (c) 2016-2021 | ||
* Released under the MIT License | ||
@@ -4,0 +4,0 @@ * Repository: https://github.com/nuxt/nuxt.js |
{ | ||
"name": "@nuxt/vue-app", | ||
"version": "2.15.6", | ||
"version": "2.15.7", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -272,3 +272,8 @@ import Vue from 'vue' | ||
await new Promise((resolve, reject) => { | ||
router.replace(app.context.route.fullPath, resolve, (err) => { | ||
const { route } = router.resolve(app.context.route.fullPath) | ||
// Ignore 404s rather than blindly replacing URL | ||
if (!route.matched.length && process.client) { | ||
return resolve() | ||
} | ||
router.replace(route, resolve, (err) => { | ||
// https://github.com/vuejs/vue-router/blob/v3.4.3/src/util/errors.js | ||
@@ -275,0 +280,0 @@ if (!err._isRouter) return reject(err) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3652
170558
44