Custom Components -- add button or text at any plugin outlet 是一个关于如何将一些文本固定到任何插件出口位置的示例。我认为你需要创建自己的主题组件才能访问 user_id。
我认为你在调用组件时会做类似以下的操作:
<YourIdComponent
@user={{@user}}
/>
Custom Components -- add button or text at any plugin outlet 是一个关于如何将一些文本固定到任何插件出口位置的示例。我认为你需要创建自己的主题组件才能访问 user_id。
我认为你在调用组件时会做类似以下的操作:
<YourIdComponent
@user={{@user}}
/>