Importing module from a different package in Angular 4

后端 未结 1 443
北恋
北恋 2021-01-24 02:39

This is a conceptual question.

I\'m an absolute beginner on both Angular and npm, so this is surely a basic question, but I have been looking all over and haven\'t found

相关标签:
1条回答
  • 2021-01-24 03:13

    you can use ng-packagr that Transpile your libraries to Angular Package Format
    execute npm install ng-packagr --save-dev

    Refer this Building an Angular 4 Component Library with the Angular CLI and ng-packagr.

    0 讨论(0)
提交回复
热议问题