View Encapsulation not working between multiple Angular 4 Apps (built with aot)
Bug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
Versions.
node: 6.9.4 npm: 3.10.10
I'm using webpack 2.3.3 with @ngtools/webpack loader (v. 1.2.13)
Repro steps.
Here is an working example with JIT-compiled Apps, both apps get different css selectors. If i build these apps with AOT, both Apps get the same css selector: http://plnkr.co/edit/fFTrK07EWBV6vSxhYaFe?p=preview
Desired functionality.
If i boot multiple (different) Angular 4 Apps (in different zones), the styles of each app will be adopt to all apps, because of the same css selector ( .app[_ngcontent-c0] )
One possible solution should be a configurable prefix for the css-selector.
Heya, could you open this on https://github.com/angular/angular instead? It seems to be related with the AOT compiler itself and not the CLI (which merely uses it).
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.