Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将完整的 Angular 4/6 应用程序与路由和指令一起打包。虽然我已经尝试过 ng-packagr,但它适用于单个组件而不是完整的应用程序。
这是 ng-packagr 的链接:
https://medium.com/@nikolasleblanc/building-an-angular-4-component-library-with-the-angular-cli-and-ng-packagr-53b2ade0701e
如果有人对此进行了研究或有任何想法,请告知。提前致谢!
我们可以使用 ng-packagr 本身来打包它。我犯的错误是在索引中导出时我没有通过主模块。谢谢!