Angular 2 - Template?

0

In a structure like this:

<header></header>
<main> 
   div1: <router-outlet></router-outlet>
   div2: <router-outlet></router-outlet>
   div3: <router-outlet></router-outlet>
</main>
<footer></footer>

I have this structure in my app.componente.html . It happens that my routes (pages%) will have elements ( divs , inputs , table , etc) that will compose different parts of the templates ( div1 , div2 , div3 , div4 , etc.). Can I be clear?

How do I build this angular structure? I can mount this structure in Laravel using Session .

    
asked by anonymous 10.10.2017 / 20:05

0 answers