How to Use SystemJS for my angular9 project which has many components and spec files.
如何在我的angular9项目中使用SystemJS,该项目有许多组件和规范文件。
一旦你创建了一个Angular项目,你就会有许多组件和文件,现在打开node终端(从你的ide中打开终端),然后写道
npm i systemjs
然后按回车键。
(你也可以看到在node_modules中会为你的systemjs创建一个文件夹)
现在你可以从systemjs中导入东西
即 import XYZ from 'systemjs/XYZ';