According to the Ember CLI documentation , containers are supported in the box. Github issue # 142 says that generators should βjust workβ with containers. This answer suggests that it should just work. However, when I try ember generate model XXX, it generates /models/XXX.jsinstead /pods/XXX/model.js.
Again, for the documentation , I added podModulePrefixto my file app.js:
var App = Ember.Application.extend({
modulePrefix: 'app',
podModulePrefix: 'app/pods',
Resolver: Resolver
});
If I manually create files using pod syntax, this recognizer selects it, so I know that the application is configured correctly, but I do not know what I need to do to make Ember CLI generators respect pod syntax. Did I miss something?
source
share