# 更新 discourse.theme-creator.io 上的 \`theme authorized extensions\`？

**URL:** <https://meta.discourse.org/t/update-theme-authorized-extensions-on-discourse-theme-creator-io/387359>\
**Category:** Support\
**Tags:** theme-creator\
**Created:** [2025年十一月1日 19:49 UTC](https://meta.discourse.org/t/update-theme-authorized-extensions-on-discourse-theme-creator-io/387359 "2025-11-01T19:49:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gormus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gormus/32/428592_2.png) [@gormus](https://meta.discourse.org/u/gormus)\
**Post date:** [2025年十一月1日 19:49 UTC](https://meta.discourse.org/t/update-theme-authorized-extensions-on-discourse-theme-creator-io/387359/1 "2025-11-01T19:49:21Z")

</div>

是否可以将 `js` 和 `css` 扩展名添加到 [`theme authorized extensions`](https://discourse.theme-creator.io/admin/site_settings/category/files?filter=theme_authorized_extensions) 设置中？

我正在尝试安装我的 [Notification Banners](https://meta.discourse.org/t/notification-banners/325279) 主题组件来创建一个在线演示，但不幸的是，这是必需的：

> [@gormus](#):
>
> ## Installation
> 
> 1. Follow the official instructions to add this theme-component to your theme:  
> [Beginner's guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966#add-theme-components-to-a-theme-9)
> 2. Change [`theme authorized extensions`](https://meta.discourse.org/admin/site_settings/category/files?filter=theme%20authorized%20extensions) setting to include `css` and `js` file extensions.

---

_[View the full topic](https://meta.discourse.org/t/update-theme-authorized-extensions-on-discourse-theme-creator-io/387359)._
