This file contains 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
import { RouterModule, Routes } from '@angular/router'; | |
const appRoutes: Routes = [ | |
{ path: '', component: HomeComponent}, | |
{ path: 'users', component: UserComponent}, | |
{ path: 'servers', component: ServerComponent}, | |
] | |
imports: [ | |
BrowserModule, | |
FormsModule, | |
RouterModule.forRoot(appRoutes) |
This file contains 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
//custom file loader reports | |
// design for downloading 1 complete file at a time | |
let intervalID | |
page.on('download', async download => { | |
startDownloadReport(download, intervalID) | |
// last report | |
download.saveAs(`./data/${ download.suggestedFilename()}`).then(() => { | |
endDownloadReport(download, intervalID) | |
}) |
This file contains 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
@import-normalize; /* bring in normalize.css styles */ | |
html { | |
font-size: 10px; | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
font-size: inherit; | |
box-sizing: inherit; |
This file contains 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
html { | |
font-size: 10px; | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
font-size: inherit; | |
box-sizing: inherit; | |
} |
This file contains 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
html { | |
font-size: 10px; | |
} | |
*, *:before, *:after { | |
font-size: 10px; | |
} |
This file contains 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
html { | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
box-sizing: inherit; | |
} |
This file contains 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
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ | |
/* Document | |
========================================================================== */ | |
/** | |
* 1. Correct the line height in all browsers. | |
* 2. Prevent adjustments of font size after orientation changes in iOS. | |
*/ |