Created
May 13, 2022 17:35
-
-
Save twerske/da77a87d86f2f8cf92886d6faec5f681 to your computer and use it in GitHub Desktop.
Streamlined page title accessibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const routes: Routes = [{ | |
path: 'home', | |
component: HomeComponent | |
title: 'My App - Home' // <-- Page title | |
}, { | |
path: 'about', | |
component: AboutComponent, | |
title: 'My App - About Me' // <-- Page title | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need a comma after
HomeComponent