Angular 2 - Template?

Asked

Viewed 61 times

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 turns out that my routes (pages), will have elements (other divs, inputs, table, etc) that will compose different parts of the templates (div1, div2, div3,div4, etc.. ) I was able to be clear?

How do I mount this structure at the angle? I can assemble this structure at the Laravel using the Session.

  • I could not understand your doubt. Always try to put code snippets in the question so we can understand better.

  • To viewing something like: Pass data from Parent to Child with input Binding

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.