From 2cfcc6bd5eeb5f2a0b3597100ff715d65abc8a73 Mon Sep 17 00:00:00 2001 From: gwn Date: Wed, 27 Sep 2017 16:34:50 +0300 Subject: [PATCH] Add "asPath" information to url objects (#2988) --- lib/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/app.js b/lib/app.js index b8590061..b4b8c833 100644 --- a/lib/app.js +++ b/lib/app.js @@ -84,6 +84,7 @@ function createUrl (router) { return { query: router.query, pathname: router.pathname, + asPath: router.asPath, back: () => { warn(`Warning: 'url.back()' is deprecated. Use "window.history.back()"`) router.back()