mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +00:00
Fix typo in lib/app/index.js (#1539)
This commit is contained in:
parent
63bc512d73
commit
e2a18d76da
@ -144,7 +144,7 @@ async function createApp (ssrContext) {
|
|||||||
|
|
||||||
<% if (store) { %>
|
<% if (store) { %>
|
||||||
if (process.browser) {
|
if (process.browser) {
|
||||||
// Replace store state before calling plugins
|
// Replace store state after calling plugins
|
||||||
if (window.__NUXT__ && window.__NUXT__.state) {
|
if (window.__NUXT__ && window.__NUXT__.state) {
|
||||||
store.replaceState(window.__NUXT__.state)
|
store.replaceState(window.__NUXT__.state)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user