-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update to angular rc3 & newest router (#729)
- Loading branch information
Showing
12 changed files
with
84 additions
and
72 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import {provideRouter, RouterConfig} from '@angular/router'; | ||
import {Home} from './demo-app'; | ||
import {ButtonDemo} from '../button/button-demo'; | ||
import {BaselineDemo} from '../baseline/baseline-demo'; | ||
import {ButtonToggleDemo} from '../button-toggle/button-toggle-demo'; | ||
import {TabsDemo} from '../tabs/tab-group-demo'; | ||
import {GridListDemo} from '../grid-list/grid-list-demo'; | ||
import {GesturesDemo} from '../gestures/gestures-demo'; | ||
import {LiveAnnouncerDemo} from '../live-announcer/live-announcer-demo'; | ||
import {ListDemo} from '../list/list-demo'; | ||
import {IconDemo} from '../icon/icon-demo'; | ||
import {ToolbarDemo} from '../toolbar/toolbar-demo'; | ||
import {InputDemo} from '../input/input-demo'; | ||
import {CheckboxDemo} from '../checkbox/checkbox-demo'; | ||
import {OverlayDemo} from '../overlay/overlay-demo'; | ||
import {PortalDemo} from '../portal/portal-demo'; | ||
import {ProgressBarDemo} from '../progress-bar/progress-bar-demo'; | ||
import {ProgressCircleDemo} from '../progress-circle/progress-circle-demo'; | ||
import {SlideToggleDemo} from '../slide-toggle/slide-toggle-demo'; | ||
import {SidenavDemo} from '../sidenav/sidenav-demo'; | ||
import {RadioDemo} from '../radio/radio-demo'; | ||
import {CardDemo} from '../card/card-demo'; | ||
|
||
|
||
|
||
export const routes: RouterConfig = [ | ||
{path: '', component: Home}, | ||
{path: 'button', component: ButtonDemo}, | ||
{path: 'card', component: CardDemo}, | ||
{path: 'radio', component: RadioDemo}, | ||
{path: 'sidenav', component: SidenavDemo}, | ||
{path: 'slide-toggle', component: SlideToggleDemo}, | ||
{path: 'progress-circle', component: ProgressCircleDemo}, | ||
{path: 'progress-bar', component: ProgressBarDemo}, | ||
{path: 'portal', component: PortalDemo}, | ||
{path: 'overlay', component: OverlayDemo}, | ||
{path: 'checkbox', component: CheckboxDemo}, | ||
{path: 'input', component: InputDemo}, | ||
{path: 'toolbar', component: ToolbarDemo}, | ||
{path: 'icon', component: IconDemo}, | ||
{path: 'list', component: ListDemo}, | ||
{path: 'live-announcer', component: LiveAnnouncerDemo}, | ||
{path: 'gestures', component: GesturesDemo}, | ||
{path: 'grid-list', component: GridListDemo}, | ||
{path: 'tabs', component: TabsDemo}, | ||
{path: 'button-toggle', component: ButtonToggleDemo}, | ||
{path: 'baseline', component: BaselineDemo}, | ||
]; | ||
|
||
export const DEMO_APP_ROUTE_PROVIDER = provideRouter(routes); |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {provideRouter, RouterConfig} from '@angular/router'; | ||
import {Home} from './e2e-app'; | ||
import {ButtonE2E} from '../button/button-e2e'; | ||
|
||
|
||
export const routes: RouterConfig = [ | ||
{path: '', component: Home}, | ||
{path: 'button', component: ButtonE2E}, | ||
]; | ||
|
||
export const E2E_APP_ROUTE_PROVIDER = provideRouter(routes); |
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
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