Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this plugin work with vue3? #119

Open
oliverguhr opened this issue Aug 31, 2020 · 1 comment
Open

Does this plugin work with vue3? #119

oliverguhr opened this issue Aug 31, 2020 · 1 comment

Comments

@oliverguhr
Copy link

Following vue's migration guide I integrated the plugin like this:

const app = createApp(App)
app.mount('#app')
app.use(VueNativeSock, 'ws://localhost:9000', {})

Unfortunately, I get this error.

Did I made a mistake or is this plugin not yet compatible with Vue 3?

Thank you in advance.

Uncaught TypeError: t.prototype is undefined
    install build.js:1
    node_modules runtime-core.esm-bundler.js:3272
    <anonymous> main.js:8
    js app.js:1208
    __webpack_require__ app.js:849
    fn app.js:151
    1 app.js:1221
    __webpack_require__ app.js:849
    checkDeferredModules app.js:46
    <anonymous> app.js:925
    <anonymous> app.js:928

@vricosti
Copy link

It seems someone has already done the job ?
vue-native-websocket-vue3

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

No branches or pull requests

2 participants