Discourse Meta
将hbs模板插入页面上的插件插槽 -> user-preferences-interface 到 user-preferences-account
开发
merefield
(Robert)
2022 年8 月 24 日 08:04
5
我在这里已经涵盖了部分原因,说明为什么这可能不起作用:
如果不考虑控制器或组件的 JS,你就不能期望它能起作用。
移动路由之间的界面模板元素不太可能奏效,除非你考虑到这一点,即模板可能依赖于:
计算属性
操作
序列化数据
等等
1 个赞
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Developing Discourse Plugins - Part 2 - Connect to a plugin outlet
Developer Guides
plugin-guides
,
tutorial
38
29869
2025 年11 月 23 日
(deprecated) Plugin outlet locations theme component
Theme component
end-of-life
38
9981
2025 年1 月 23 日
Using the new custom-homepage feature
Dev
36
2019
2025 年9 月 4 日
Modernizing inline script tags for templates & JS API
Dev
dev-news
46
4027
2026 年3 月 11 日
Using template hbs to add HTML content to a plugin outlet
Dev
2
136
2025 年6 月 23 日