Next Angular
Comment on page

Page Structure


<!doctype html>
<html lang="en">
<title>Next | Welcome To Angular 8+ Bootstrap Design Admin Template </title>
<!-- HTML5 Shim and Respond.js IE11 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 11]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<base href="/">
<!-- Meta Content-->
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- font style -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600" rel="stylesheet">
<app-root></app-root> <!-- app.component.html -->


<!-- loadChildren from app-routing.module.ts with admin.component.html or auth.component.html -->


import { AdminComponent } from './theme/layout/admin/admin.component';
import { AuthComponent } from './theme/layout/auth/auth.component';
const routes: Routes = [
path: '',
component: AdminComponent,
children: [
// load children modules with lazy load routing for header, side nav common structure, like, dashboard, blank page, widget, etc..
path: '',
component: AuthComponent,
children: [
// load children modules with lazy load routing for without common structure, like login, signup, reset password, lock screen, etc..


<app-navigation></app-navigation> <!-- for side nav - navigation.component.html -->
<app-nav-bar></app-nav-bar> <!-- for header - nav-bar.component.html -->
<div class="pcoded-main-container">
<div class="pcoded-wrapper">
<div class="pcoded-content">
<div class="pcoded-inner-content">
<app-breadcrumb></app-breadcrumb> <!-- for common breadcrumb - breadcrumb.component.html -->
<div class="main-body">
<div class="page-wrapper">
<!-- page main body - loadChildren as main page body from src/app/demo/... -->


<!-- loadChildren component for auth.component at app-routing.module.ts for authentication blank pages without nav, header, etc. -->