Adding one app into another


#1

Hi Chaps, I’m currently trying to add another app into another with ember-cli. I’v included it in bower.json

"m1-ui" : "../m1-ui"

And now I want to import it into a view … so I can then embed it inside a sandbox or set it up as Conductor card or just plainy ammend it to the views dom … The easiest would be the dom but I’m really not sure and lacking docs it’s a real quessing game … So, in my view I just need to import it :

import m1 from 'm1-ui/app';

When I do this I get a :

Error: ENOENT, no such file or directory '/Users/v035926/Projects/git/adt/oem/dashboard-ui/tmp/tree_merger-tmp_dest_dir-VG7IERWq.tmp/m1-ui/app.js'

which I guess is fare enough. How do I include the app into the ES6 eco system? I’m guessing I’m seriously missing a brocolli import or something?

Cheers, Stephen.