diff --git a/docs/documentation/stories/include-angular-material.md b/docs/documentation/stories/include-angular-material.md index 6fbcaba7a387..1ee53154a73b 100644 --- a/docs/documentation/stories/include-angular-material.md +++ b/docs/documentation/stories/include-angular-material.md @@ -60,87 +60,4 @@ After saving this file, return to the browser to see the Angular Material styled - [Getting Started](https://material.angular.io/guide/getting-started) - [Theming Angular Material](https://material.angular.io/guide/theming) - - [Theming your own components](https://material.angular.io/guide/theming-your-components) - -# Include [Flex Layout](https://github.com/angular/flex-layout) for [Angular Material](https://material.angular.io) - -Include Angular Material as detailed above. - -Install the `@angular/flex-layout` library and add the dependency to package.json... -```bash -npm install --save @angular/flex-layout -``` - -Import the Angular Flex-Layout NgModule into your app module... -```javascript -//in src/app/app.module.ts - -import { FlexLayoutModule } from '@angular/flex-layout'; -// other imports - -@NgModule({ - imports: [ - ... - FlexLayoutModule.forRoot() - ], - ... -}) -``` - -Run `ng serve` to run your application in develop mode, and navigate to `http://localhost:4200` - -Add the following to `src/app/app.component.css`... -```css -.header { - background-color: lightyellow; -} - -.left { - background-color: lightblue; -} - -.right { - background-color: pink; -} -``` - -To verify flex-layout has been set up correctly, change `src/app/app.component.html` to the following... -```html -