Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vuex store watch

watch: {
  '$store.state.drawer': function() {
    console.log(this.$store.state.drawer)
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vuex #store #watch
ADD COMMENT
Topic
Name
2+8 =