mirror of
https://github.com/adam-benyekkou/my_portfolio.git
synced 2026-01-15 20:20:09 +00:00
Added layout components to main-layout components and then main-layout to app
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import {MainLayoutComponent} from './layout/components/main-layout/main-layout.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet],
|
||||
imports: [RouterOutlet, MainLayoutComponent],
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.css'
|
||||
})
|
||||
export class AppComponent {
|
||||
title = 'angularPortfolio';
|
||||
title = 'Adam Benyekkou Portfolio';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user