Skip to content
Permalink
Browse files

Delay exec nuxtClientInit

  • Loading branch information...
potato4d committed Jul 27, 2018
1 parent 94f1e29 commit 59989ef37176586aa7ffec0ede0c64cf5aacb8fa
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/module.plugin.js
@@ -1,5 +1,7 @@
export default (context) => {
if (process.browser) {
context.store.dispatch('nuxtClientInit')
setTimeout(() => {
context.store.dispatch('nuxtClientInit')
}, 0)
}
}

0 comments on commit 59989ef

Please sign in to comment.
You can’t perform that action at this time.