Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Add component to App from addon in development mode

$
0
0

@teejay wrote:

Hello build an addon which creates a user-interface for mirage scenarios which lets switch between scenarios in development mode. Currently you need to add a component to your application code (into the layout) to make the user interface available which I would like to get rid off.

The goal is that the addon can be configured via the application config to embed the component into the application. I am thinking along the lines of using an instance initializer from the addon which then renders the component and appends it to the body. I kind of think this is an impossible thing todo as the component does not run standalone if that makes any sense, so it has to be part of the application lifecycle. So yeah I am not sure.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles