@rondale_sc wrote:
Mostly documenting for future travelers:
I needed to run an initializer only in FastBoot land. Rather than guard for FastBoot I want to use a FB initializer.
In an addon you can do so by adding your initializer (in my case an instance-initializer) to:
<root-of-addon>/fastboot/addon/instance-initializers/<name-of-your-initializer>
and in an application:
<root-of-app>/fastboot/instance-initializers/<name-of-your-initializer>
If you’d like to see more detail on this please referr to this EmberCLI ticket by @kratiahuja
Cheers! Image may be NSFW.
Clik here to view.
Posts: 2
Participants: 2