You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And trying to set few modules in main.ts like below.
declare const SystemJS;
import * as angularCore from '@angular/core';
import * as angularCommon from '@angular/common';
SystemJS.set('@angular/core', SystemJS.newModule(angularCore));
SystemJS.set('@angular/common', SystemJS.newModule(angularCommon));
And i'm getting error
The text was updated successfully, but these errors were encountered:
Question
How to use system js in Angular 14 with type script? i'm trying to import system js in angular as below.
And trying to set few modules in main.ts like below.
And i'm getting error
The text was updated successfully, but these errors were encountered: