withConfig requires breakpoints with AOT
See original GitHub issueBug Report
What is the expected behavior?
FlexLayoutModule.withConfig({useColumnBasisZero: false})
as suggested here to work with AOT compile
What is the current behavior?
produces
Cannot read property ‘alias’ of undefined
What are the steps to reproduce?
https://github.com/gatimus/flex-layout-demo
npm i
ng serve
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 6.2.3
Node: 8.12.0
OS: win32 x64
Angular: 6.1.8
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.8.3
@angular-devkit/build-angular 0.8.3
@angular-devkit/build-optimizer 0.8.3
@angular-devkit/build-webpack 0.8.3
@angular-devkit/core 0.8.3
@angular-devkit/schematics 0.8.3
@angular/cdk 6.4.7
@angular/cli 6.2.3
@angular/flex-layout 6.0.0-beta.17
@ngtools/webpack 6.2.3
@schematics/angular 0.8.3
@schematics/update 0.8.3
rxjs 6.2.2
typescript 2.9.2
webpack 4.20.2
Is there anything else we should know?
FlexLayoutModule.withConfig({ useColumnBasisZero: false }, DEFAULT_BREAKPOINTS)
works
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Flex Layout styles are getting added automatically when AOT ...
When I turned off AOT compiler the styles are not added. Also tried to set flex layout config FlexLayoutModule.withConfig({addFlexToParent: ...
Read more >angular/flex-layout - Gitter
My guess is that flex-layout-11 is present 11 times because you're using responsive breakpoints. Which means the class itself is recreated in different...
Read more >Allow themes to identify their breakpoints to Drupal [#1775774]
Spin-off from [#1734642]. That issue is working on a UI for configuring breakpoints. This issue is just the ability for themes to identify ......
Read more >WebStorm node.js debugging not working
I wrote a lot this code yesterday. I added break points at that point. Eventually got it to work by debugging with print...
Read more >VarNote Documentation
VarNote Usage Documentation Quick Tutorial System Requirements Installation and ... Annotation AnnotationIntersectFile Run with config file IntersectConfig ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve explained the root cause in #853, and the fix will be added there, hopefully before we release our 7.0.0-beta
@CaerusKaru what else can I do to help reproduce this ^