'props keep showing as $attrs in VUE DEV TOOLS

enter image description hereenter image description here My props keep showing as $attrs in VUE DEV TOOLS I have tried disabling attrs using inheritAttrs: false and v-bind="$attrs",does not work

// props 
:showLoadMoreButton="load"

  data() {
    return {
      load: true
  }


Solution 1:[1]

If something is appearing as an attribute, it means it's not registered as a prop on the component.

Try registering your unwanted attribute as a prop:

// props 
:showLoadMoreButton="load"

export default {
  props: {
    showLoadMoreButton: Boolean
  }
}

Solution 2:[2]

I had the same issue recently. In my case the error was that i didnt close the script tag in the component

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 walnut_salami
Solution 2 Erik BasaƱez