Skip to content

Commit

Permalink
Prepend devtools subscribe handler to fix vuejs/devtools#678
Browse files Browse the repository at this point in the history
  • Loading branch information
simplesmiler committed Jul 31, 2018
1 parent 32a57f9 commit 986a6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/devtool.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export default function devtoolPlugin (store) {

store.subscribe((mutation, state) => {
devtoolHook.emit('vuex:mutation', mutation, state)
})
}, { prepend: true })
}

0 comments on commit 986a6d1

Please sign in to comment.