-
Couldn't load subscription status.
- Fork 1
Open
Description
If I try to create a multiplayer game using this library, I get the titular error.
It doesn't matter if I use SocketIO or Local as the multiplayer type.
Have you tried making a multiplayer game with this library?
Here's what my invocation looks like.
import { createApp } from 'vue';
import App from './App.vue';
import { boardgamePlugin } from 'vue3-boardgame';
import { HangMan } from './HangMan';
import { SocketIO } from 'boardgame.io/multiplayer';
let params = new URL(document.location).searchParams;
const app = createApp(App);
app.config.unwrapInjectedRef = true; // needed until vue 3.3
app.use(boardgamePlugin, {
options: {
game: HangMan,
multiplayer: SocketIO({ server: 'localhost:8888' }),
playerID: params.get('p'),
},
autostart: true,
useMixin: false,
useProvide: true,
});
app.mount('#app');
Metadata
Metadata
Assignees
Labels
No labels