dimanche 1 mars 2015

How to setup EmberJS in an ember-cli project with DreamFactory as the backend

I'm trying to setup an ember-cli app to use DreamFactory and facing trouble putting the pieces together.


I've taken the DSP's JavaScript lib files (shred.bundle.js, swagger.js and sdk-init.js) and tried to load them straight from the /vendor directory in the Brocfile and tried to initialize the sdk-init.js with an initializer but it seems there's more to it than just putting things in the right place maybe ..


The main issue I'm facing now is that shred.bundle can't seem to find where the app_name/app module is. is the root of my application and I'm guessing app is the app.js file that was originally commissioned by DreamFactory to act as the main application?


That been said, the window.df.apis seems to load but obviously Ember doesn't.


Would appreciate any hint or help really.


Thanks,





Aucun commentaire:

Enregistrer un commentaire