As someone who is relatively new to Vuejs, I have been encountering the following warnings whenever I press a key:
[Vue warn]: $attrs is readonly.
found in
---> <RouterLink>
<HeaderComponent> at src\components\Header_Component.vue
<App> at src\App.vue
<Root>
and
[Vue warn]: $listeners is readonly.
found in
---> <RouterLink>
<HeaderComponent> at src\components\Header_Component.vue
<App> at src\App.vue
<Root>
Although these warnings do not appear to impact functionality in any way. I haven't used $attrs or $listeners in my code, so I'm not sure where these warnings are originating from.
Below is the content of my Header_Component.vue file:
<template>
(...)
</template>
<script lang="ts">
import Vue from 'vue'
export default Vue.extend({
(...)
})
</script>
<style lang="css" scoped>
(...)
</style>
Your assistance with this issue would be greatly appreciated. Thank you!