Closed EmBeaux closed 2 years ago
Solved this by changing my plugin import to utilize v2 instead of v3. This was a mistake on my end. Resolved.
import Vue from 'vue';
// Wrong
// import mdiVue from 'mdi-vue/v3'
// Correct
import mdiVue from 'mdi-vue/v2'
import * as mdijs from '@mdi/js'
Vue.use(mdiVue, {
icons: mdijs
});
I am trying to utilize
<mdicon name="react" />
, as per the readme, and upon render of the Icon I get a full screen error statingObject(...) is not a function
.Vue Plugin
nuxt.config.js
Template in Vue Component
I am importing nothing in the Vue
script
tags because I figured the plugin would take care of that.