0_depend.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. <!DOCTYPE HTML>
  2. <html lang="" >
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  6. <title>项目依赖 · 代码收集</title>
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <meta name="description" content="">
  9. <meta name="generator" content="GitBook 3.1.1">
  10. <link rel="stylesheet" href="../../gitbook/style.css">
  11. <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-pro/search.css">
  12. <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
  13. <meta name="HandheldFriendly" content="true"/>
  14. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  15. <meta name="apple-mobile-web-app-capable" content="yes">
  16. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  17. <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
  18. <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
  19. <link rel="next" href="01_built-in_instructions.html" />
  20. <link rel="prev" href="./" />
  21. </head>
  22. <body>
  23. <div class="gb-page-wrapper">
  24. <header class="gb-page-header">
  25. <div class="container">
  26. <div id="book-search-input" role="search">
  27. <input type="text" placeholder="Type to search" />
  28. </div>
  29. <a href="../.." class="logo">
  30. <img src="../../gitbook/images/logo/128.png">
  31. <h1>代码收集</h1>
  32. </a>
  33. <a href="https://github.com/seamong/myBlogs/blob/doc/angular/study_notes/0_depend.md" target="_blank" class="btn btn-link pull-right hidden-xs">
  34. <i class="octicon octicon-mark-github"></i> 在GitHub编辑本页
  35. </a>
  36. <a href="../../faq.md" class="btn btn-link pull-right hidden-xs">
  37. F.A.Q
  38. </a>
  39. <a href="https://github.com/seamong/myBlogs/README.md" target="_blank" class="btn btn-link pull-right hidden-xs">
  40. 当前版本0.0.1
  41. </a>
  42. </div>
  43. </header>
  44. <div class="gb-page-body">
  45. <div class="gb-page-inner">
  46. <div class="container">
  47. <div class="row">
  48. <div class="col-md-3">
  49. <div class="panel panel-default">
  50. <div class="panel-heading">
  51. <h3 class="panel-title">介绍</h3>
  52. </div>
  53. <div class="list-group">
  54. <a href="../../" class="list-group-item ">
  55. 关于本文档
  56. </a>
  57. </div>
  58. </div>
  59. <div class="panel panel-default">
  60. <div class="panel-heading">
  61. <h3 class="panel-title">JavaScript</h3>
  62. </div>
  63. <div class="list-group">
  64. <a href="../../JavaScript/principle/" class="list-group-item ">
  65. <i class="octicon octicon-chevron-right"></i>
  66. 原理解析
  67. </a>
  68. <a href="../../JavaScript/cases/" class="list-group-item ">
  69. <i class="octicon octicon-chevron-right"></i>
  70. 案例解析
  71. </a>
  72. </div>
  73. </div>
  74. <div class="panel panel-default">
  75. <div class="panel-heading">
  76. <h3 class="panel-title">angular</h3>
  77. </div>
  78. <div class="list-group">
  79. <a href="./" class="list-group-item ">
  80. <i class="octicon octicon-chevron-down"></i>
  81. Study notes
  82. </a>
  83. <a href="0_depend.html" class="list-group-item active">
  84. <i class="octicon octicon-chevron-down" style="opacity: 0"></i>
  85. 项目依赖
  86. </a>
  87. <a href="01_built-in_instructions.html" class="list-group-item ">
  88. <i class="octicon octicon-chevron-down" style="opacity: 0"></i>
  89. 内置指令
  90. </a>
  91. <a href="from/" class="list-group-item ">
  92. <i class="octicon octicon-chevron-down" style="opacity: 0"></i>
  93. <i class="octicon octicon-chevron-right"></i>
  94. 表单
  95. </a>
  96. <a href="../ng.html" class="list-group-item ">
  97. ng
  98. </a>
  99. </div>
  100. </div>
  101. <div class="panel panel-default">
  102. <div class="panel-heading">
  103. <h3 class="panel-title">css</h3>
  104. </div>
  105. <div class="list-group">
  106. <a href="../../css/principle/" class="list-group-item ">
  107. 原理解析
  108. </a>
  109. <a href="../../css/cases/" class="list-group-item ">
  110. <i class="octicon octicon-chevron-right"></i>
  111. 案例收集
  112. </a>
  113. </div>
  114. </div>
  115. <div class="panel panel-default">
  116. <div class="panel-heading">
  117. <h3 class="panel-title">vue</h3>
  118. </div>
  119. <div class="list-group">
  120. <a href="../../vue/components/" class="list-group-item ">
  121. <i class="octicon octicon-chevron-right"></i>
  122. components
  123. </a>
  124. <a href="../../vue/router/" class="list-group-item ">
  125. <i class="octicon octicon-chevron-right"></i>
  126. router
  127. </a>
  128. <a href="../../vue/vuex/" class="list-group-item ">
  129. VUE
  130. </a>
  131. </div>
  132. </div>
  133. <div class="panel panel-default">
  134. <div class="panel-heading">
  135. <h3 class="panel-title">ubuntu</h3>
  136. </div>
  137. <div class="list-group">
  138. <a href="../../ubuntu/serves/" class="list-group-item ">
  139. <i class="octicon octicon-chevron-right"></i>
  140. 服务器生存指南
  141. </a>
  142. <a href="../../ubuntu/instruction.html" class="list-group-item ">
  143. 常用指令
  144. </a>
  145. <a href="../../ubuntu/software/" class="list-group-item ">
  146. 常用软件安装
  147. </a>
  148. </div>
  149. </div>
  150. <div class="panel panel-default">
  151. <div class="panel-heading">
  152. <h3 class="panel-title">GIT</h3>
  153. </div>
  154. <div class="list-group">
  155. <a href="../../git/git.html" class="list-group-item ">
  156. git 命令
  157. </a>
  158. <a href="../../git/push.html" class="list-group-item ">
  159. git~push
  160. </a>
  161. <a href="../../git/faq.html" class="list-group-item ">
  162. git~F.A.Q
  163. </a>
  164. </div>
  165. </div>
  166. <div class="panel panel-default">
  167. <div class="panel-heading">
  168. <h3 class="panel-title">NODE&NPM</h3>
  169. </div>
  170. <div class="list-group">
  171. <a href="../../node/0.html" class="list-group-item ">
  172. <i class="octicon octicon-chevron-right"></i>
  173. node
  174. </a>
  175. <a href="../../node/npm/0.html" class="list-group-item ">
  176. npm
  177. </a>
  178. </div>
  179. </div>
  180. <div class="panel panel-default">
  181. <div class="list-group">
  182. <a href="../../other/faq.html" class="list-group-item ">
  183. FAQ
  184. </a>
  185. <a href="../../other/examples.html" class="list-group-item ">
  186. Examples
  187. </a>
  188. </div>
  189. </div>
  190. </div>
  191. <div class="col-md-9">
  192. <div id="book-search-results">
  193. <div class="search-noresults">
  194. <div class="gb-markdown book-page-inner">
  195. <h3 id="appmoduelts">app.moduel.ts</h3>
  196. <pre><code class="lang-typescript"><span class="hljs-comment">// &#x5BFC;&#x5165;&#x4F9D;&#x8D56;&#x5E93;</span>
  197. <span class="hljs-keyword">import</span> {BrowserModule} from <span class="hljs-string">&apos;@angular/platform-browser&apos;</span>;
  198. <span class="hljs-keyword">import</span> {NgModule} from <span class="hljs-string">&apos;@angular/core&apos;</span>;
  199. <span class="hljs-keyword">import</span> {FormsModule,ReactiveFormsModule} from <span class="hljs-string">&apos;@angular/forms&apos;</span>;
  200. <span class="hljs-comment">// &#x7EC4;&#x4EF6;&#x6765;&#x6E90;</span>
  201. <span class="hljs-keyword">import</span> {AppComponent} from <span class="hljs-string">&apos;./app.component&apos;</span>;
  202. <span class="hljs-keyword">import</span> {HeroFromComponent} from <span class="hljs-string">&apos;./hero-from/hero-from.component&apos;</span>;
  203. <span class="hljs-keyword">import</span> {SukComponent} from <span class="hljs-string">&apos;./suk/suk.component&apos;</span>;
  204. <span class="hljs-keyword">import</span> { FormcontrolComponent } from <span class="hljs-string">&apos;./formcontrol/formcontrol.component&apos;</span>;
  205. <span class="hljs-keyword">import</span> { FormBuilderComponent } from <span class="hljs-string">&apos;./form-builder/form-builder.component&apos;</span>;
  206. <span class="hljs-keyword">import</span> { EventEmitterComponent } from <span class="hljs-string">&apos;./event-emitter/event-emitter.component&apos;</span>;
  207. <span class="hljs-keyword">import</span> { NgModelComponent } from <span class="hljs-string">&apos;./ng-model/ng-model.component&apos;</span>;
  208. <span class="hljs-keyword">import</span> { OkComponent } from <span class="hljs-string">&apos;./ok/ok.component&apos;</span>;
  209. <span class="hljs-comment">// &#x6CE8;&#x5165;</span>
  210. @NgModule({
  211. <span class="hljs-comment">// &#x6CE8;&#x518C;&#x7EC4;&#x4EF6;</span>
  212. declarations: [
  213. AppComponent,
  214. HeroFromComponent,
  215. SukComponent,
  216. FormcontrolComponent,
  217. FormBuilderComponent,
  218. EventEmitterComponent,
  219. NgModelComponent,
  220. OkComponent
  221. ],
  222. <span class="hljs-comment">// &#x5F15;&#x5165;&#x4F9D;&#x8D56;&#x5E93;</span>
  223. imports: [
  224. BrowserModule,
  225. FormsModule,
  226. ReactiveFormsModule
  227. ],
  228. providers: [],
  229. <span class="hljs-comment">// &#x5F15;&#x5BFC;&#x7EC4;&#x4EF6;</span>
  230. bootstrap: [AppComponent]
  231. })
  232. <span class="hljs-keyword">export</span> <span class="hljs-keyword">class</span> AppModule {
  233. }
  234. </code></pre>
  235. </div>
  236. <hr>
  237. <div class="btn-group btn-group-justified">
  238. <a class="btn" href="./"><b>上一页:</b> Study notes</a>
  239. <a class="btn" href="01_built-in_instructions.html"><b>下一页:</b> 内置指令</a>
  240. </div>
  241. </div>
  242. <div class="search-results">
  243. <div class="has-results">
  244. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  245. <ul class="search-results-list"></ul>
  246. </div>
  247. <div class="no-results">
  248. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. </div>
  257. <footer class="gb-page-footer">
  258. <div class="container">
  259. <ul class="menu">
  260. <li class="pull-right">
  261. <span class="service-info">Copyright GitBook 2018</span>
  262. </li>
  263. <li>
  264. <a href="#">Return to the top</a>
  265. </li>
  266. <li>
  267. <a href="#">Updated May 30th 18</a>
  268. </li>
  269. </ul>
  270. </div>
  271. </footer>
  272. </div>
  273. <script src="../../gitbook/gitbook.js"></script>
  274. <script src="../../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
  275. <script src="../../gitbook/gitbook-plugin-search-pro/search.js"></script>
  276. <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
  277. <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
  278. <script>
  279. (function() {
  280. gitbook.page.hasChanged({"page":{"title":"项目依赖","level":"3.1.1","depth":2,"next":{"title":"内置指令","level":"3.1.2","depth":2,"path":"angular/study_notes/01_built-in_instructions.md","ref":"angular/study_notes/01_built-in_instructions.md","articles":[]},"previous":{"title":"Study notes","level":"3.1","depth":1,"path":"angular/study_notes/README.md","ref":"angular/study_notes/README.md","articles":[{"title":"项目依赖","level":"3.1.1","depth":2,"path":"angular/study_notes/0_depend.md","ref":"angular/study_notes/0_depend.md","articles":[]},{"title":"内置指令","level":"3.1.2","depth":2,"path":"angular/study_notes/01_built-in_instructions.md","ref":"angular/study_notes/01_built-in_instructions.md","articles":[]},{"title":"表单","level":"3.1.3","depth":2,"path":"angular/study_notes/from/README.md","ref":"angular/study_notes/from/README.md","articles":[{"title":"模板案例","level":"3.1.3.1","depth":3,"path":"angular/study_notes/from/0_template_case.md","ref":"angular/study_notes/from/0_template_case.md","articles":[]},{"title":"formControl","level":"3.1.3.2","depth":3,"path":"angular/study_notes/from/01_formControl.md","ref":"angular/study_notes/from/01_formControl.md","articles":[]},{"title":"directives_源码解析","level":"3.1.3.3","depth":3,"path":"angular/study_notes/from/02_directives.md","ref":"angular/study_notes/from/02_directives.md","articles":[]},{"title":"ngModel","level":"3.1.3.4","depth":3,"path":"angular/study_notes/from/03_ng_model.md","ref":"angular/study_notes/from/03_ng_model.md","articles":[]},{"title":"表单验证&自定义验证器","level":"3.1.3.5","depth":3,"path":"angular/study_notes/from/04_Form-Validation_&_Custom-Validator.md","ref":"angular/study_notes/from/04_Form-Validation_&_Custom-Validator.md","articles":[]},{"title":"监听表单数据变化","level":"3.1.3.6","depth":3,"path":"angular/study_notes/from/05_Listen_to_form_data_changes.md","ref":"angular/study_notes/from/05_Listen_to_form_data_changes.md","articles":[]},{"title":"问题收集","level":"3.1.3.7","depth":3,"path":"angular/study_notes/from/06_Problem_collection.md","ref":"angular/study_notes/from/06_Problem_collection.md","articles":[]}]}]},"dir":"ltr"},"config":{"plugins":["theme-official@2.1.1","-sharing","-fontsettings","sitemap","-search","search-pro"],"root":"./docs/","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sitemap":{"hostname":"https://blog.honghaitao.net/"},"search-pro":{"cutWordLib":"nodejieba","defineWord":["小需求","基础建设"]},"highlight":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"theme-official":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"version":"0.0.1"},"title":"代码收集","gitbook":"3.1.1"},"file":{"path":"angular/study_notes/0_depend.md","mtime":"2018-05-30T08:23:34.368Z","type":"markdown"},"gitbook":{"version":"3.1.1","time":"2018-05-31T06:23:00.958Z"},"basePath":"../..","book":{"language":""}});
  281. })();
  282. </script>
  283. </body>
  284. </html>