2 thoughts on “Router: The router content is not stored inside but inside

  1. if router content is nested inside the router-outlet tag, we can easily add some CSS styles for the router content:

    <router-outlet style="..." class="..."></router-outlet>

    As of now, I have to do:

    <div style="..." class="...">
        <router-outlet></router-outlet>
    </div>