Skip to content

Commit

Permalink
add: initial components, and folders
Browse files Browse the repository at this point in the history
routing for components done as well.
  • Loading branch information
4Furki4 committed May 26, 2023
1 parent 1c85279 commit 721f723
Show file tree
Hide file tree
Showing 23 changed files with 192 additions and 488 deletions.
5 changes: 4 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"prefix": "sozluk",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
Expand Down Expand Up @@ -100,5 +100,8 @@
}
}
}
},
"cli": {
"analytics": "a570cec2-ae5c-4ef9-b099-4e8f7b1b1547"
}
}
9 changes: 8 additions & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AppComponent } from './app.component';
import { MainComponent } from './components/main/main.component';

const routes: Routes = [];
const routes: Routes = [
{
path: '', loadChildren: () => import('./components/main/main.module').then(m => m.MainModule),
},

];

@NgModule({
imports: [RouterModule.forRoot(routes)],
Expand Down
Loading

0 comments on commit 721f723

Please sign in to comment.