Skip to content

Region plugin in Vue giving error while import #3540

Answered by katspaugh
laxmangaian asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like you're not using NPM, so you need to specify an actual path for the module, or a URL.

E.g. a CDN URL: import WaveSurfer from 'http://unpkg.com/[email protected]/dist/wavesurfer.esm.js'

And similarly for the Regions plugin.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@laxmangaian
Comment options

@katspaugh
Comment options

Answer selected by laxmangaian
@laxmangaian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants