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.
There shouldnt be any. Though its an async process, so best done in router viewport componr ts, during activate/configureRouter cycle. And probably need to make sure its applied only once, regardless how many times a component is activated. Sorry aboit the doc though, could you help with that