0👍
If you want to use template literals they should be between backticks
, not single quotes, so you should be subscribing to:
Echo.join(`room.${roomId}`)
.here(...)
.joining(...)
.leaving(...)
.listen('NewMessage', (e) => {
//
});
- [Vuejs]-Show/hide + v-on:click for single page aplication vue.js
- [Vuejs]-How to pass a prop from parent directly to all children components?
Source:stackexchange.com