[Vuejs]-Get Values of Nested Objects from localStorage Vue.js

0👍

Vue does not detect changes in a nested object. You’ll have to create a watcher like so:

Vue JS Watching deep nested object

watch: {
    object: {
        handler(newVal, oldVal) {
            // do something with the object
        },
        deep: true,
  },

Leave a comment