We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have trouble getting it to work with Nuxt 3.
Should it not be registered in a plugin like:
import Cryptoicon from 'vue-cryptoicon' import icon from 'vue-cryptoicon/src/icons' import { defineNuxtPlugin } from '#app' export default defineNuxtPlugin((nuxtApp) => { Cryptoicon.add(icon) nuxtApp.vueApp.use(Cryptoicon) })
?
The text was updated successfully, but these errors were encountered:
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 #7.
Sorry, something went wrong.
No branches or pull requests
I have trouble getting it to work with Nuxt 3.
Should it not be registered in a plugin like:
?
The text was updated successfully, but these errors were encountered: