@switch (angularStatus) { @case (AngularStatus.EXISTS) { @if (angularIsInDevMode) { @if (supportedVersion()) {
} @else {

Angular Devtools only supports Angular versions 12 and above

} } @else {

We detected an application built with production configuration. Angular DevTools only supports development builds.

If this application was built in development mode, please check if the `window.ng` global object is available in your application. If it is missing, then something is preventing Angular from running in development mode properly.

- Are you calling `enableProdMode()` in your application? Read more about enableProdMode() on angular.dev.
- Is `"optimization": true` set in your angular.json? Read more about optimization configuration on angular.dev.
- Is `"defaultConfiguration": "production"` set in your angular.json? Read more about default configurations on angular.dev.

If you are still experiencing problems, you can open an issue with a reproduction on our issue tracker.

} } @case (AngularStatus.DOES_NOT_EXIST) {

i Angular application not detected.

} @case (AngularStatus.UNKNOWN) {
} }