文脈を追加
This commit is contained in:
parent
d4b78d4acd
commit
b8ddd74e96
2 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
Rails、Action cable、Vueで構成された簡素なリアルタイムチャット。
|
Rails、Action cable、Vueで構成された簡素なリアルタイムチャット。
|
||||||
|
|
||||||
# 文脈
|
# 文脈
|
||||||
[Entering](https://riq0h.jp/2023/04/30/232125/)で主人公が作っていたチャットサービスをモダンな技術で再現した。
|
[Entering](https://riq0h.jp/2023/04/30/232125/)でヒロインと主人公が作っていたチャットサービスをモダンな技術で再現した。
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,6 @@ export default {
|
||||||
this.createSubscription()
|
this.createSubscription()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 追加
|
|
||||||
createSubscription() {
|
createSubscription() {
|
||||||
this.subscription = this.cable.subscriptions.create(
|
this.subscription = this.cable.subscriptions.create(
|
||||||
{ channel: 'RoomChannel', room_id: this.roomId },
|
{ channel: 'RoomChannel', room_id: this.roomId },
|
||||||
|
|
Loading…
Reference in a new issue