forked from hamzahamidi/ajsf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from zahmo/upgrade_ang17alpha
Upgrade ang17alpha
- Loading branch information
Showing
24 changed files
with
6,247 additions
and
7,004 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
import { Component } from '@angular/core'; | ||
import { environment } from '../environments/environment'; | ||
|
||
@Component({ | ||
// tslint:disable-next-line:component-selector | ||
selector: 'demo-root', | ||
template: `<router-outlet></router-outlet>` | ||
template: `<router-outlet></router-outlet> | ||
<div>build:{{build}}, ver:{{env?.version}}, angular:{{env?.angularVersion}}, material:{{env?.materialVersion}}</div> | ||
` | ||
}) | ||
export class DemoRootComponent { } | ||
export class DemoRootComponent { | ||
|
||
env=environment; | ||
build=this.env.production?"prd":"dev"; | ||
|
||
} |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
export const environment = { production: true }; | ||
|
||
export const environment ={"production":true,"version":"17.0.0-alpha.0","angularVersion":"17.1.3","materialVersion":"17.1.2"} | ||
|
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
export const environment = { production: false }; | ||
|
||
export const environment ={"production":false,"version":"17.0.0-alpha.0","angularVersion":"17.1.3","materialVersion":"17.1.2"} | ||
|
Oops, something went wrong.