# 无法将模板放入理想的出口

**URL:** https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650
**Category:** Development
**Created:** [2024 年10 月 13 日 09:22 UTC](https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650 "2024-10-13T09:22:58Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### 作者： ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### 发布日期： [2024 年10 月 14 日 13:37 UTC](https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650/13 "2024-10-14T13:37:15Z")

</div>

是的，生产站点使用 [Theme CLI (](https://meta.discourse.org/t/install-the-discourse-theme-cli-console-app-to-help-you-build-themes/82950) ，我猜这是它的缺点之一，尽管它否则是一个很棒的工作流程？)

> [@david](#):
>
> Ember 在生产构建中会优化掉一些检查以提高性能。

这完全说得通。

> [@david](#):
>
> 我一直建议在合适的开发环境中开发主题…

是的，对于插件来说，这是我的首选，但对于 TC，由于反馈的即时性（尽管不一定总是有帮助！），很容易针对生产站点进行开发。

但我刚刚意识到，您可以使用 CLI 进入 localhost 并且它有效。

所以，真是傻！

![image](https://global.discourse-cdn.com/meta/original/4X/6/b/d/6bd644506c319de7833f3cea11f9827b77bc2484.png)

我以后会这样做的！ 🚀

我不知道为什么我以为那是不可能的 😊 😅

像往常一样，感谢您的帮助，这为我节省了很多时间（将来 🙂 ）

---

_[View the full topic](https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650)._
