Open cfjedimaster opened 5 years ago
How about codesandbox
? Here you can install npm packages directly.
Demo.
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. ;)
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 ofVueYoutube
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?