# Can't add plugin outlet to view

**URL:** https://meta.discourse.org/t/cant-add-plugin-outlet-to-view/49465
**Category:** Development
**Created:** [30. August 2016 um 23:20 UTC](https://meta.discourse.org/t/cant-add-plugin-outlet-to-view/49465 "2016-08-30T23:20:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sevenmaxis](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sevenmaxis](https://meta.discourse.org/u/sevenmaxis)
#### Post date: [30. August 2016 um 23:20 UTC](https://meta.discourse.org/t/cant-add-plugin-outlet-to-view/49465/1 "2016-08-30T23:20:14Z")

</div>

I want to add some extra plugin outlet for plugins  
For example I added line  
`{{plugin-outlet "bread-and-tee" tagName="li"}}` to `app/assets/javascripts/discourse/templates/components/bread-crumbs.hbs`  
in development environment and I can’t see any change.  
Is there some procedure to build views? Should I do `rake assets:precompile`

---

<div class="post-metadata">

### Author: ![sevenmaxis](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sevenmaxis](https://meta.discourse.org/u/sevenmaxis)
#### Post date: [31. August 2016 um 13:36 UTC](https://meta.discourse.org/t/cant-add-plugin-outlet-to-view/49465/2 "2016-08-31T13:36:48Z")

</div>

If I add usual html code to a template I can see it in the view, but `plugin-outlet` completely ignores by template.  
Is there some special treatment for `plugin-outlet`?

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [31. August 2016 um 16:40 UTC](https://meta.discourse.org/t/cant-add-plugin-outlet-to-view/49465/3 "2016-08-31T16:40:44Z")

</div>

It should work… Whenever I change a plugin, I make sure the changes are picked up by deleting some files and then restarting the rails server.

```plaintext
rm -Rf tmp/cache/assets/* && rm -Rf tmp/stylesheet-cache/* && bundle exec rails s

```

Also, the plugin should populate the outlet with a file `assets/javascripts/discourse/templates/connectors/bread-and-tee/myplugin.hbs`.

---

<div class="post-metadata">

### Author: ![sevenmaxis](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sevenmaxis](https://meta.discourse.org/u/sevenmaxis)
#### Post date: [1. September 2016 um 20:17 UTC](https://meta.discourse.org/t/cant-add-plugin-outlet-to-view/49465/4 "2016-09-01T20:17:58Z")

</div>

This didn’t help. I discovered a variable `Ember.TEMPLATES` and this variable doesn’t have precompiled templates with my `plugin-outlet` name. Any idea how to debug this problem?
