VueDX warning: component is inferred as global component

Viewed 602

So I added an extension of VueDX and now I am having a lot of warnings.

The component 'v-row' is inferred as global component. It may not be available at runtime.VueDX(59002) And the same way with v-col or v-main or v-card basically any Vuetify component gives me warnings. How to deal with it?

1 Answers

According to this GitHub issue, you should be able to configure global components in a vueconfig.json configuration file. Create this file in the root directory:

vueconfig.json

{
  "globalComponents": [
    "vuetify"
  ]
}

There's a note about attribute completion in that thread from the project creator:

Attribute completion depends on type definitions but it will support web types soon.

Related