question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not compatible with Vue 3 RC

See original GitHub issue

Running 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:open
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
anteriovieiracommented, Feb 3, 2021

I will migrate to version 3 soon.

0reactions
wobsorianocommented, Aug 27, 2021

Published a lightweight component that works with both Vue 2/3

https://github.com/wobsoriano/vue-lite-youtube-embed

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found