@@ -320,50 +319,67 @@
- + - + - - + + - {{ title }} app is running! + {{ title }} app is running! - - + +
-

Resources

-

Here are some links to help you get started:

+ +

Here are some links to help you get started:

@@ -376,37 +392,43 @@
- + + New Component
- + + Angular Material
- + + Add PWA Support
- + + Add Dependency
- + + Run and Watch Tests
- + + Build for Production
@@ -414,86 +436,126 @@
-
ng generate component xyz
-
ng add @angular/material
-
ng add @angular/pwa
-
ng add _____
-
ng test
-
ng build --prod
+
ng generate component xyz
+
ng add @angular/material
+
ng add @angular/pwa
+
ng add _____
+
ng test
+
ng build --prod
diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 2c3ba29..0cadd23 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,6 +3,7 @@ import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; @NgModule({ declarations: [ @@ -10,7 +11,8 @@ import { AppComponent } from './app.component'; ], imports: [ BrowserModule, - AppRoutingModule + AppRoutingModule, + BrowserAnimationsModule ], providers: [], bootstrap: [AppComponent] diff --git a/src/index.html b/src/index.html index 987c96d..ac4a127 100644 --- a/src/index.html +++ b/src/index.html @@ -6,8 +6,10 @@ + + - + diff --git a/src/locale/messages.xlf b/src/locale/messages.xlf new file mode 100644 index 0000000..625e1c2 --- /dev/null +++ b/src/locale/messages.xlf @@ -0,0 +1,37 @@ + + + + + + Welcome + + src/app/app.component.html + 305 + + + + app is running! + + src/app/app.component.html + 338 + + + + Resources + + src/app/app.component.html + 350 + + Title of a paragraph + Header + + + Here are some links to help you get started: + + src/app/app.component.html + 351 + + + + + diff --git a/src/polyfills.ts b/src/polyfills.ts index 03711e5..01e24d6 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -1,3 +1,7 @@ +/*************************************************************************************************** + * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates. + */ +import '@angular/localize/init'; /** * This file includes polyfills needed by Angular and is loaded before the app. * You can add your own extra polyfills to this file. diff --git a/src/styles.scss b/src/styles.scss index 90d4ee0..7e7239a 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1 +1,4 @@ /* You can add global styles to this file, and also import other style files */ + +html, body { height: 100%; } +body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }