You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am migrating my project from Vue2 to Vue3. Everything went successful. The only thing that I am getting as a warning is from this library.
warning in ./node_modules/vue-material-design-icons/InformationOutline.vue?vue&type=template&id=456649a2
Module Warning (from ./node_modules/@vue/cli-service/node_modules/vue-loader/dist/templateLoader.js):
(Emitted value instead of an instance of Error) (deprecation COMPILER_V_BIND_OBJECT_ORDER) v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attri
bute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.
The solution seems easy, just move the v-bind='$attrs' in the template as a first argument and this warning will be fixed
Regards
Nik
The text was updated successfully, but these errors were encountered:
magFixCorp
changed the title
Vue 3 warning
Vue 3 warning (deprecation COMPILER_V_BIND_OBJECT_ORDER)
Jul 8, 2022
magFixCorp
changed the title
Vue 3 warning (deprecation COMPILER_V_BIND_OBJECT_ORDER)
[Vue 3] warning (deprecation COMPILER_V_BIND_OBJECT_ORDER)
Jul 8, 2022
I am migrating my project from Vue2 to Vue3. Everything went successful. The only thing that I am getting as a warning is from this library.
The solution seems easy, just move the v-bind='$attrs' in the template as a first argument and this warning will be fixed
Regards
Nik
The text was updated successfully, but these errors were encountered: