To begin your project, you need to first build the basic layout.
Firtst of all create header and footer component (Click here to generate component), then open app.component.html file and your code like below example:
<div class="wrapper"> <!-- Page Header --> <app-header></app-header> <!-- Page Header --> <router-outlet></router-outlet> <!-- footer section --> <app-footer></app-footer> <!-- footer section --> </div>
Hope it will be helpful for you.
Question and answer is powered by AnsPress.io