shrpne / vue-inline-svg

Dynamically loads an SVG source and inline <svg> element so you can manipulate the style of it
MIT License
175 stars 21 forks source link

How to import for vue 3? #55

Closed Glarionov closed 1 year ago

Glarionov commented 1 year ago

If I'm using

import Notifications from '@kyvg/vue3-notification'

I'm getting error

The requested module '/node_modules/.vite/deps/vue-inline-svg.js?v=3651ac09' does not provide an export named 'InlineSvgPlugin'

If I'm using

import Notifications from '@kyvg/vue3-notification@next'

I'm getting error Failed to resolve import "vue-inline-svg@next" from "resources\js\app.js"

shrpne commented 1 year ago

You should consult with @kyvg/vue3-notification author, i have no relation with it