We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d02ea commit 777a4b7Copy full SHA for 777a4b7
1 file changed
packages/vue-app/template/server.js
@@ -134,7 +134,10 @@ export default async (ssrContext) => {
134
135
<% if (isFullStatic && store) { %>
136
// Stop recording store mutations
137
- ssrContext.unsetMutationObserver()
+ // unsetMutationObserver is only set after all router middleware are evaluated
138
+ if (ssrContext.unsetMutationObserver) {
139
+ ssrContext.unsetMutationObserver()
140
+ }
141
<% } %>
142
}
143
0 commit comments