Skip to content

Conversation

@andreww2012
Copy link

Hello, thank you for this great component. I've been using it extensively in my projects and due to the need of having it available in Vue 3, here is my rewrite of it to support Vue 3.

Noteworthy changes:

  • The component itself and the demo are now written as SFC in composition API style;
  • Vitest is now used instead Jest for testing;
  • Vite is used for the demo and bundling for NPM;
  • test NPM script now runs prettier, type checking and unit testing;
  • Dependencies upgraded to newer versions.

vue-lazy-youtube-video.min.js is bundled in two phases because JS from Vue's SFC is not touched by TypeScript, but originally the compilation target was set to es5, and I tried to meet this requirement.

@andrewvasilchuk
Copy link
Owner

@andreww2012 amazing 🤯! Thanks a ton for your contribution. I will review it in 2-3 days.

@andreww2012
Copy link
Author

Hey @andrewvasilchuk any chance you review this one? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants