指南
- 介绍
- Contribute
- 部署
- 管理
- Advanced
进阶
- Main 核心概念
- 高级指引
- Advanced Guides
- Update Guides
- Extending Flarum
- Internal Team Docs
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
Updating For 1.x
tip
If you need help applying these changes or using new features, please start a discussion on the community forum or Discord chat.
Flarum version 1.1 mostly focuses on bugfixes and quality-of-life improvements following our stable release earlier this year. These are mainly user-facing and internal infrastructure changes, so extensions are not significantly affected.
- Flarum now has an organization-wide prettier config package under
@flarum/prettier-config
. - Most custom (setting or data based) coloring in core is now done via CSS custom properties.
- Typehinting for Flarum's globals are now supported in extensions.
- You can now pass extra attrs to the
Select
component, and they will be passed through to the DOM. - The
DiscussionPage
component is now organized as an item list, so it's easier for extensions to change its content. - Extensions can now edit the
page
parameter ofPaginatedListState
.
- Flarum now comes with a Preload extender for preloading any custom frontend assets.
- A new Theme extender now allows overriding Less files and internal imports. This allows themes to more easily completely replace Less modules.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论