Configure feature after aurelia starts


Hi folks, i want to configure a set of features after aurelia app starts.

I have a feature that has my global components and is beeing configurated before starting my app, but then
when the user login into the app i need to configure a feature or another. depending on the user role.

Can someone help me with example of how i can do this?

Thanks a lot

Multiple app bundles and service registration
Conditionally Load Features dynamically as Webpack chunks after Aurelia starts and without Routing

here’s an example

import { inject, Aurelia, FrameworkConfiguration } from 'aurelia-framework';

export class someClass {
    constructor(aurelia) {
        this.aurelia = aurelia;

    activate() {
        return new FrameworkConfiguration(this.aurelia)


Amazing that was it! thanks a lot