I have a case where I need to add my plugins post initial load. The way my team implemented OIDC has us doing a lot of unnecessary plugin loading when the site will be simply redirected to the login page. It is only after a user is available from OIDC when I want to load the rest of the plugins.
I have tried to add the plugins by instantiating a new FrameworkConfiguration(this.aurelia) where this.aurelia is injected at the constructor. I add the plugins then call config.apply ();
this does not work. I get the this config instance has already been applied. To load more global resources, create a new FrameworkConfiguration instance.