Open toniengelhardt opened 1 year ago
Update
The following seems to work:
import CryptoIcon from 'vue-cryptoicon/src/components/Cryptoicon'
import icon from 'vue-cryptoicon/src/icons'
import { defineNuxtPlugin } from '#app'
export default defineNuxtPlugin((nuxtApp) => {
CryptoIcon.add(icon)
nuxtApp.vueApp.component('CryptoIcon', CryptoIcon)
})
Adapted from https://github.com/man15h/vue-cryptoicon/issues/7.
I have trouble getting it to work with Nuxt 3.
Should it not be registered in a plugin like:
?