Console warnings for grid components

I have a lot of warnings about loading ion grid components:


Everything seems to work… just annoying errors…

You need to import the Ionic component and provide it to your Vue component before using it. The following is pseudo-code for how to do this:


import { IonGrid } from '@ionic/vue';
Import { defineComponent } from 'vue';

export default defineComponent({
  components: { IonGrid }

What you are seeing in your app is the raw web component without any Vue bindings. Vue is warning you that it cannot find the Vue bindings for those components.

This was done for performance reasons, but if importing Ionic components every time you want to use them is not your preference, you can also register these components globally by importing them once: