ng-amor
v1.0.10
Published
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.
Downloads
5
Readme
NgAmor
This project was generated with Angular CLI version 1.7.4.
i:npm install ng-packagr --save-dev 安装 ng-packagr ii:创建ng-package.json { "$schema": "./node_modules/ng-packagr/ng-package.schema.json", "lib": { "entryFile": "public_api.ts" } } iii:创建public_api.ts export * from './src/app/modules/header/header.module'
iv: package.json 文件中的 scripts添加 "packagr": "ng-packagr -p ng-package.json"
v: 将package.json 文件中的dependencies 的依赖移入 peerDependencies 中
vi: npm publish dist
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.