Feature: use nuxt bridge to bundle client

This commit is contained in:
Aram Becker 2023-05-04 23:52:36 +02:00
parent 98c117f0b8
commit 228b5203a8
23 changed files with 8484 additions and 19783 deletions

View file

@ -368,7 +368,7 @@ export default {
initializeSocket() {
this.socket = this.$nuxtSocket({
name: process.env.NODE_ENV === 'development' ? 'dev' : 'prod',
channel: this.$config.routerBasePath,
channel: this.$config.public.routerBasePath,
persist: 'main',
teardown: false,
transports: ['websocket'],