Skip to content

Commit

Permalink
Removes router
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkar598 committed Jun 21, 2024
1 parent e9b05f9 commit a65a580
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@angular/forms": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/router": "^18.0.0",
"@codemirror/autocomplete": "^6.16.3",
"@codemirror/commands": "^6.6.0",
"@codemirror/language": "^6.10.2",
Expand Down
2 changes: 0 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
TuiThemeNightModule,
} from '@taiga-ui/core';
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { EditorComponent } from './components/editor/editor.component';
import { TerminalComponent } from './components/terminal/terminal.component';
import { EditorPageComponent } from './pages/editor-page/editor-page.component';
Expand All @@ -16,7 +15,6 @@ import { EditorPageComponent } from './pages/editor-page/editor-page.component';
selector: 'app-root',
standalone: true,
imports: [
RouterOutlet,
TuiRootModule,
TuiDialogModule,
TuiAlertModule,
Expand Down
4 changes: 0 additions & 4 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ import {
provideZoneChangeDetection,
importProvidersFrom,
} from '@angular/core';
import { provideRouter } from '@angular/router';

import { routes } from './app.routes';

export const appConfig: ApplicationConfig = {
providers: [
provideAnimations(),
provideZoneChangeDetection({ eventCoalescing: true }),
provideRouter(routes),
importProvidersFrom(TuiRootModule),
],
};
3 changes: 0 additions & 3 deletions src/app/app.routes.ts

This file was deleted.

0 comments on commit a65a580

Please sign in to comment.