DockYard / ember-admin

Admin backend for ember-cli projects
MIT License
241 stars 37 forks source link

Use engines #63

Open knownasilya opened 8 years ago

knownasilya commented 8 years ago

Since ember-engines is now a thing, it might be worthwhile to start implementing this as engines, with sub-engines (is that a thing?) for plugins.

App = Ember.Application.extend({
  modulePrefix: config.modulePrefix,
  podModulePrefix: config.podModulePrefix,
  Resolver,

  engines: {
    emberAdmin: {
      dependencies: {
        services: [
          'store',
          'session'
        ]
      },
      engines: {
        'admin-search': 'custom-ea-advanced-search'
      }
    }
  }
});
kirantpatil commented 8 years ago

:100: :+1: also lazy loading enabled for admin interface

bcardarella commented 8 years ago

I think we'd have to wait for the engine story to implement lazy loading. I spiked some ideas a while back but I'd prefer to stick with the official way