mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
fix: Typo
This commit is contained in:
parent
79a64df422
commit
1de4a16a02
@ -137,7 +137,7 @@ async function createApp (ssrContext) {
|
|||||||
|
|
||||||
<% if (store) { %>
|
<% if (store) { %>
|
||||||
if (process.browser) {
|
if (process.browser) {
|
||||||
// Replace store state after calling plugins
|
// Replace store state before plugins execution
|
||||||
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