diff --git a/lib/app/index.js b/lib/app/index.js index a94cf3546b..7ba695c024 100644 --- a/lib/app/index.js +++ b/lib/app/index.js @@ -87,6 +87,9 @@ async function createApp (ssrContext) { ...App } + // Make app available in store + store.app = app + const next = ssrContext ? ssrContext.next : location => app.router.push(location) let route if (ssrContext) { diff --git a/package.json b/package.json index 2485afa217..48a1f5cd0c 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "vue-router": "^2.7.0", "vue-server-renderer": "~2.4.2", "vue-template-compiler": "~2.4.2", - "vuex": "^2.3.1", + "vuex": "^2.4.0", "webpack": "^3.5.5", "webpack-bundle-analyzer": "^2.9.0", "webpack-dev-middleware": "^1.12.0", diff --git a/start/package.json b/start/package.json index 86b9dbcd8b..8f2b656b6e 100644 --- a/start/package.json +++ b/start/package.json @@ -51,7 +51,7 @@ "lodash": "^4.17.4", "hash-sum": "^1.0.2", "tappable": "^1.1.0", - "debug": "^3.0.0", + "debug": "^3.0.1", "chalk": "^2.1.0", "ansi-html": "^0.0.7", "serialize-javascript": "^1.4.0", @@ -63,7 +63,7 @@ "fs-extra": "^4.0.1", "vue-server-renderer": "~2.4.2", "@nuxtjs/youch": "3.0.2", - "source-map": "^0.5.6", + "source-map": "^0.5.7", "connect": "^3.6.3", "vue": "~2.4.2", "vue-meta": "^1.1.0", diff --git a/yarn.lock b/yarn.lock index 9b61494d85..64ed700936 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6588,9 +6588,9 @@ vue@~2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/vue/-/vue-2.4.2.tgz#a9855261f191c978cc0dc1150531b8d08149b58c" -vuex@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/vuex/-/vuex-2.3.1.tgz#cde8e997c1f9957719bc7dea154f9aa691d981a6" +vuex@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/vuex/-/vuex-2.4.0.tgz#e1d0430646282b40007fdd06ec6ae88a9f5a1e14" watchpack@^1.4.0: version "1.4.0"