This repository has been archived by the owner on Jan 27, 2022. It is now read-only.
DevTools does not show component tree when injecting ViewContainerRef in AppComponent #824
Labels
bug
Something isn't working
Angular DevTools version (required): 1.0.1
Angular version (required): 11.2.14
Link to a minimal GitHub repository: https://github.com/decline/angular-devtools-issue
Description of issue:
When injecting the ViewContainerRef in the AppComponent construct, Angular DevTools will not work.
To make it work again, remove this construct from the AppComponent:
Steps to reproduce:
Checkout GitHub repository, run
npm install
and serve app withng serve
Open the app in the browser and start DevTools (you should not see the component tree in DevTools):
AppComponent
just remove the construct. DevTools should now show the component tree:The text was updated successfully, but these errors were encountered: