Open
Conversation
trotyl
reviewed
Dec 21, 2016
| ```ts | ||
| // `another-project\src\app\app.module.ts | ||
| import { TlUiModule } from 'tl-ui/src/app/tl-ui/tl-ui.module'; | ||
| @ngModule({imports: [TlUiModule]}) |
rxjs-space
commented
Dec 21, 2016
| - 本文所述方法是笔者通过试错摸索出来的,过程中大量参考了 [@ng-bootstrap/ng-bootstrap][]。 | ||
| - 试错固然啰嗦,需要干货的同学请移步“总结”部分。 | ||
| - 本文在测试安装本地 package 的过程中,没有使用 `npm link` -- 笔者试验多次均以 Error 告终。 | ||
| - 阅读本文,需要读者简单了解一下知识点: |
rxjs-space
commented
Dec 21, 2016
| - `ng g module awesome-module` | ||
| - 为了标签前缀,稍微修改 `angular-cli.json` 和 `tslint.json` | ||
| - 完成 awesome-module 的开发(template 和 styles 直接写在 component 里) | ||
| - 根目录新建 `index.ts`,并 re-export `awesoe-module` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.