Not compatible with Vue 3 RC
See original GitHub issueRunning into the following issue trying to use vue-youtube
on Vue 3 RC
Installed vue-youtube
via npm
, and imported it into my project globally in main.js
following the directions given by the Vue 3 docs.
main.js
import { createApp } from 'vue'
import App from './App.vue'
import VueYoutube from 'vue-youtube'
createApp(App)
.use(VueYoutube)
.mount('#app')
In the console, I get the following error:
Uncaught TypeError: Cannot set property '$youtube' of undefined
Might be something minor?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Vue 3 is now in RC! · Issue #189 · vuejs/rfcs - GitHub
We are very excited to announce that Vue 3.0 has entered RC (Release Candidate) stage! Entering the RC stage means that both the...
Read more >Browser Compatibility | Vue CLI
If one of your dependencies need polyfills, you have a few options: If the dependency is written in an ES version that your...
Read more >Vue.js 3: Cannot import Vue global object - Stack Overflow
If you're working with CDN Vue is available as global variable which could be used to create instance by calling the method createApp...
Read more >The Vuetify roadmap
Vuetify is a Material Design component framework for Vue.js. It aims to provide all the tools necessary to create beautiful content rich ...
Read more >Getting Started - BootstrapVue
You should not need to use this option as the default is most optimal for performance. Vue CLI 3. Unlike V2, Vue CLI...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will migrate to version 3 soon.
Published a lightweight component that works with both Vue 2/3
https://github.com/wobsoriano/vue-lite-youtube-embed