# Getting custom addon directories to appear in an app

**URL:** <https://discuss.emberjs.com/t/getting-custom-addon-directories-to-appear-in-an-app/9579>\
**Category:** Uncategorized\
**Created:** [January 27, 2016, 8:45pm UTC](https://discuss.emberjs.com/t/getting-custom-addon-directories-to-appear-in-an-app/9579 "2016-01-27T20:45:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nullnullnull](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/nullnullnull/32/11169_2.png) [@nullnullnull](https://discuss.emberjs.com/u/nullnullnull)\
**Post date:** [January 27, 2016, 8:45pm UTC](https://discuss.emberjs.com/t/getting-custom-addon-directories-to-appear-in-an-app/9579/1 "2016-01-27T20:45:33Z")

</div>

Typically, when I generate a file for an addon, it adds files to both the `addon` and `app` directories. In turn, `requirejs.entries` contains references to both the addon’s original file and the version consumed by the app itself. For instance, if I had generated a Foo component, `requirejs.entries` would have both:

```auto
my-addon/components/foo
my-app/components/foo

```

Now let’s say that I want a directory to contain classes that don’t fit neatly into what Ember already offers (components, services, models, etc). Let’s call the directory `bazs`, and give it a Foo of it’s own. Next, we’ll go into the `apps` directory and create a `bazs` folder there, then create a `foo.js` which imports the addon’s `bazs/foo` and re-exports it.

After all this, I would expect `requirejs.entries` to have a reference to `bazs/foo` in both the addon and app, but instead it only appears:

```auto
my-addon/bazs/foo

```

I haven’t worked very intimately with the resolver (I’m assuming this is the resolver’s responsibility), and so I’m not sure why this is happening. Anybody have insights? And if I wanted the app to also have reference to `bazs`, anybody know of a way to make that happen?
