Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
danr committed Jun 1, 2020
1 parent 33d9b4f commit 40ef727
Show file tree
Hide file tree
Showing 32 changed files with 477 additions and 633 deletions.
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"useTabs": false,
"tabWidth": 2,
"printWidth": 80,
"trailingComma": "none"
}
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"start": "ng serve --o --port=4211",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
Expand All @@ -19,6 +19,8 @@
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",
"@siemplify/utils": "1.5.2",
"lodash-es": "4.17.15",
"rxjs": "~6.4.0",
"tslib": "^1.10.0",
"zone.js": "~0.9.1"
Expand All @@ -28,9 +30,9 @@
"@angular/cli": "~8.3.22",
"@angular/compiler-cli": "~8.2.14",
"@angular/language-service": "~8.2.14",
"@types/node": "~8.9.4",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "^5.0.0",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
Expand All @@ -39,9 +41,11 @@
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"prettier": "2.0.5",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"tslint-config-prettier": "1.18.0",
"typescript": "~3.5.3"
}
}
25 changes: 20 additions & 5 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';


const routes: Routes = [];
const routes: Routes = [
{
path: 'users',
loadChildren: () =>
import('./users/users.module').then((m) => m.UsersModule),
},
{
path: 'settings',
loadChildren: () =>
import('./settings/settings.module').then((m) => m.SettingsModule),
},
{
path: 'todos',
loadChildren: () =>
import('./todos/todos.module').then((m) => m.TodosModule),
},
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
imports: [RouterModule.forRoot(routes, { useHash: true })],
exports: [RouterModule],
})
export class AppRoutingModule { }
export class AppRoutingModule {}
Loading

0 comments on commit 40ef727

Please sign in to comment.