vue-youtube icon indicating copy to clipboard operation
vue-youtube copied to clipboard

Use on CodePen?

Open cfjedimaster opened this issue 6 years ago • 2 comments

I'm 90% sure this is my fault and not yours. ;) I'm trying to use this in a CodePen demo. In my settings I've added https://raw.githubusercontent.com/anteriovieira/vue-youtube/master/dist/vue-youtube.js as a dependency. But any use of VueYoutube returns an error because it isn't defined. According to CodePen, any external JS libraries are loaded before your code is executed so I'm not quite sure what's wrong. Any ideas?

cfjedimaster avatar Jan 21 '19 19:01 cfjedimaster

How about codesandbox? Here you can install npm packages directly. Demo.

TitanFighter avatar Jan 21 '19 22:01 TitanFighter

I knew it worked there as the demo was there. :) At the end of the day I don't expect you to support CodePen, I just thought maybe I was making a dumb/easy mistake somewhere. ;)

cfjedimaster avatar Jan 22 '19 15:01 cfjedimaster