This file contains hidden or 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
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
import { SharedModule } from './shared/shared.module'; | |
@NgModule({ | |
declarations: [ |
This file contains hidden or 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
import { DragDropModule } from '@angular/cdk/drag-drop'; | |
import { ScrollingModule } from '@angular/cdk/scrolling'; | |
import { CdkTableModule } from '@angular/cdk/table'; | |
import { CdkTreeModule } from '@angular/cdk/tree'; | |
import { NgModule } from '@angular/core'; | |
import { | |
MatAutocompleteModule, | |
MatBadgeModule, | |
MatBottomSheetModule, | |
MatButtonModule, |
This file contains hidden or 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
// import custom componenet themes | |
// unofficial naming convention to support nice ordering of files in IDE | |
// to see theme under the original style file of the componenent | |
// you only have to add additional componenets here (instead of in every theme class) | |
@mixin custom-components-theme($theme) { | |
} |
This file contains hidden or 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
// Custom Theming for Angular Material | |
// For more information: https://material.angular.io/guide/theming | |
@import '~@angular/material/theming'; | |
// Plus imports for other components in your app. | |
// Include the common styles for Angular Material. We include this here so that you only | |
// have to load a single css file for Angular Material in your app. | |
// Be sure that you only ever include this mixin once! | |
@include mat-core(); |
This file contains hidden or 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
// Define the palettes for your theme using the Material Design palettes available in palette.scss | |
// (imported above). For each palette, you can optionally specify a default, lighter, and darker | |
// hue. Available color palettes: https://material.io/design/color/ | |
$theming-material-components-primary: mat-palette($mat-indigo); | |
$theming-material-components-accent: mat-palette($mat-pink, A200, A100, A400); | |
// The warn palette is optional (defaults to red). | |
$theming-material-components-warn: mat-palette($mat-red); | |
// Create the theme object (a Sass map containing all of the palettes). |
This file contains hidden or 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
// Custom Theming for Angular Material | |
// For more information: https://material.angular.io/guide/theming | |
@import '~@angular/material/theming'; | |
// Plus imports for other components in your app. | |
// Include the common styles for Angular Material. We include this here so that you only | |
// have to load a single css file for Angular Material in your app. | |
// Be sure that you only ever include this mixin once! | |
@include mat-core(); |
This file contains hidden or 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
... | |
script: | |
- ... | |
- yarn build --base-href /my-awesome-project/ | |
- mv dist/index.html dist/404.html | |
... |
NewerOlder