![](/img/trans.png)
[英]How to create a Angular library NPM package, that will allow importing modules the way the Angular Material does
在 Angular Material (AM) 中,我們可以像這樣從@angular/material導入單個模塊: import { MatButtonModule } from '@angular/material' 我也想為我的庫重新使用這種方法,但是當我的庫構建index.ts時,從publ ...