mardi 20 septembre 2016

Ember CLI pod structure migration

I just started using Ember for a real application, and already got myself into a bit of a bind.

I set up my environment.js file with the following:

modulePrefix: 'appname',
podModulePrefix: 'appname/pods'

However, this did not work and Ember CLI continues to generate files in the old/normal structure. I unfortunately did not even notice until I had a decent amount of work done... cause I was excited just to have an Ember app going! ;)

So the question I have is two-fold:

  1. Why is podModulePrefix not working? I've read up on it, and it seems like it should be fine. I'm probably missing the point on why it's not working.
  2. How can I migrate my existing file structure into the pod structure? Is it just manually doing so, or is there a tool out there that helps with things?

Thanks for any help!




Aucun commentaire:

Enregistrer un commentaire