MountWidget の引数について

こんにちは。生のhbsテンプレートにウィジェットをマウントしようとしています。

<MountWidget @widget="header-notifications" @args={{this.currentUser}} />

しかし、エラーが発生しています。引数が間違っているためだと思いますが、正しい追加方法がわからないので、ウィジェットが機能するように追加する方法を教えていただけますか?

「いいね!」 1

このように実行してください

<MountWidget @widget="header-notifications" @args={{hash user=this.currentUser}}/>
「いいね!」 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.