AppLayout with Footer on all Pages

Different solutions:

  • AppLayout implements RouterLayout - meaning you can overwrite showRouterLayoutContent and do anything you want. Like adding the incoming view to a layout of choice

  • AppLayout has a setContent method which you can use and overwrite. In the constructor create your outer layout + footer and use super.setContent and store your layout. In the overwritten setContent method just remove the first element which is not your footer and re-add the new element coming from the method parameters