{"id":7786,"date":"2017-04-09T17:18:13","date_gmt":"2017-04-09T08:18:13","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=7786"},"modified":"2017-04-09T19:22:30","modified_gmt":"2017-04-09T10:22:30","slug":"angular-cli%e3%81%a7%e3%80%81angular%e3%82%a2%e3%83%97%e3%83%aa%e3%82%92%e3%81%8b%e3%82%93%e3%81%9f%e3%82%93%e6%a5%bd%e3%80%85%e6%a7%8b%e7%af%89%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=7786","title":{"rendered":"Angular CLI\u3067\u3001Angular\u30a2\u30d7\u30ea\u3092\u304b\u3093\u305f\u3093\u697d\u3005\u69cb\u7bc9\uff01"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7801\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58.png\" alt=\"\" width=\"681\" height=\"383\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58.png 2708w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58-300x169.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58-768x432.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58-1024x576.png 1024w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/p>\n<p>\u4eca\u56de\u306f\u3001Angular\u3092\u6271\u3046\u306a\u3089\u3001\u4f7f\u3046\u3079\u304d\u30c4\u30fc\u30eb\u300c<strong>Angular CLI<\/strong>\u300d\u306e\u3054\u7d39\u4ecb\u3067\u3059\u3002<\/p>\n<p>\u300c<strong>Angular CLI<\/strong>\u300d\u3092\u4f7f\u3046\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u69d8\u3005\u306a\u4e8b\u304c\u5bb9\u6613\u306b\u884c\u3048\u307e\u3059\u3002<\/p>\n<p>\u65b0\u898f\u3067\u30a2\u30d7\u30ea\u3092\u5236\u4f5c\u3059\u308b\u969b\u306f\u3001\u300c<strong>Angular CLI<\/strong>\u300d\u3092\u7528\u3044\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u74b0\u5883\u3084\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u76e4\u3082\u5bb9\u6613\u306b\u884c\u3048\u308b\u306e\u3067\u3001\u5fc5\u9808\u3068\u3044\u3063\u3066\u826f\u3044\u7a0b\u3067\u3059\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Angular CLI \u516c\u5f0f\u30da\u30fc\u30b8<\/strong><\/p>\n<p><a href=\"https:\/\/cli.angular.io\/\" target=\"_blank\">Angular CLI<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7801\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58.png\" alt=\"\" width=\"496\" height=\"279\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58.png 2708w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58-300x169.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58-768x432.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/16316866e045bd0c152a7faa457bbe58-1024x576.png 1024w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong>Angular CLI<\/strong>\u300d\u306f\u3001<\/p>\n<p>\u30fb<strong>\u30a2\u30d7\u30ea\u306e\u4f5c\u6210<\/strong><\/p>\n<p>\u30fb<strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3084\u30b5\u30fc\u30d3\u30b9\u306a\u3069\u306e\u751f\u6210<\/strong><\/p>\n<p>\u30fb<strong>lint<\/strong><\/p>\n<p>\u30fb<strong>\u30d3\u30eb\u30c9<\/strong><\/p>\n<p>\u30fb<strong>\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5<\/strong><\/p>\n<p>\u30fb<strong>\u30c6\u30b9\u30c8\u5b9f\u884c<\/strong><\/p>\n<p>\u7b49\u3092\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u958b\u767a\u306b\u5fc5\u8981\u306a\u4e00\u901a\u308a\u306e\u3053\u3068\u3092<strong>\u5bb9\u6613\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306a\u30c4\u30fc\u30eb<\/strong>\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u308c\u3067\u306f\u65e9\u901f\u3001<strong>Angular CLI<\/strong>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066App\u3092\u4f5c\u6210\u3057\u3001\u8d77\u52d5\u3059\u308b\u6d41\u308c\u3092\u8ffd\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3068\u8a00\u3063\u3066\u3082\u3001<a href=\"https:\/\/cli.angular.io\/\" target=\"_blank\">\u516c\u5f0f\u30da\u30fc\u30b8<\/a>\u3067\u66f8\u304b\u308c\u3066\u3044\u308b4\u3064\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u30a2\u30d7\u30ea\u8d77\u52d5\u307e\u3067\u3001\u30a2\u30c3\u3068\u3044\u3046\u9593\u306b\u51fa\u6765\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">npm install -g @angular\/cli\r\nng new my-dream-app\r\ncd my-dream-app\r\nng serve<\/pre>\n<p>\u305d\u306e\u4ed6\u3001<strong>\u30b8\u30a7\u30cd\u30ec\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u3067\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u751f\u6210<\/strong>\u306a\u3069\u3082\u8ffd\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u300c<strong>\u3053\u3046\u3057\u305f\u3044\u3093\u3060\u3051\u3069\u3002\u3002<\/strong>\u300d\u3068\u601d\u3063\u305f\u30b7\u30fc\u30f3\u304c\u3042\u3063\u305f\u306e\u3067\u3001<\/p>\n<p>\u4eca\u56de\u306f\u3001\u5b9f\u969b\u306b\u5229\u7528\u3059\u308b\u30b7\u30fc\u30f3\u3092\u542b\u3081\u3066\u306e\u4f8b\u3082\u8f09\u305b\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u65e9\u901f\u4f7f\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>Angular CLI \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">npm install -g @angular\/cli<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Angular CLI<\/strong>\u3092\u4f7f\u7528\u51fa\u6765\u308b\u3088\u3046\u306bglobal\u30aa\u30d7\u30b7\u30e7\u30f3\u4ed8\u4e0e\u3057\u3001npm install\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u30a2\u30d7\u30ea\u306e\u4f5c\u6210<\/h4>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3089\u3001\u300c<strong>\u30a2\u30d7\u30ea\u306e\u4f5c\u6210<\/strong>\u300d\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u300c<strong>\u30a2\u30d7\u30ea\u306e\u4f5c\u6210<\/strong>\u300d\u306f\u300c<strong>ng\u30b3\u30de\u30f3\u30c9<\/strong>\u300d\u306e\u300c<strong>new \u30a2\u30d7\u30ea\u540d<\/strong>\u300d\u3067\u884c\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng new my-dream-app<\/pre>\n<p>\u7c21\u5358\u3067\u3059\u306d\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u69d8\u306b<strong>\u30a2\u30d7\u30ea\u306e\u3072\u306a\u5f62\u304c\u3001\u30c9\u30ab\u30fc\u3063\u3068\u751f\u6210\u3055\u308c\u308b<\/strong>\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">create .editorconfig\r\n  create README.md\r\n  create src\/app\/app.component.css\r\n  create src\/app\/app.component.html\r\n  create src\/app\/app.component.spec.ts\r\n  create src\/app\/app.component.ts\r\n  create src\/app\/app.module.ts\r\n  create src\/assets\/.gitkeep\r\n  create src\/environments\/environment.prod.ts\r\n  create src\/environments\/environment.ts\r\n  create src\/favicon.ico\r\n  create src\/index.html\r\n  create src\/main.ts\r\n  create src\/polyfills.ts\r\n  create src\/styles.css\r\n  create src\/test.ts\r\n  create src\/tsconfig.app.json\r\n  create src\/tsconfig.spec.json\r\n  create src\/typings.d.ts\r\n  create .angular-cli.json\r\n  create e2e\/app.e2e-spec.ts\r\n  create e2e\/app.po.ts\r\n  create e2e\/tsconfig.e2e.json\r\n  create .gitignore\r\n  create karma.conf.js\r\n  create package.json\r\n  create protractor.conf.js\r\n  create tsconfig.json\r\n  create tslint.json\r\nSuccessfully initialized git.<\/pre>\n<p>Angular1\u304b\u3089\u3001\u63a8\u5968\u3067\u3042\u308b<strong>\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af karma\u306e\u751f\u6210\u3055\u308c\u308b\u306e\u3067\u3001e2e\u30c6\u30b9\u30c8\u3082\u7c21\u5358\u306b\u59cb\u3081\u3089\u308c\u307e\u3059\u3002<\/strong><\/p>\n<p>\u3042\u308c\u3084\u3053\u308c\u3084\u3068\u3001<strong>npm install\u3092\u884c\u3063\u305f\u308a\u3001gulp\u306e\u30bf\u30b9\u30af\u3092\u4f5c\u6210\u3057\u305f\u308a\u3057\u306a\u304f\u3066\u826f\u3044\u306e\u3067<\/strong>\u5927\u5909\u4fbf\u5229\u3067\u3059\u3088\u306d \uff1e\uff1c<\/p>\n<p>\u4f5c\u696d\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u751f\u6210\u3057\u305f\u30a2\u30d7\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">cd my-dream-app<\/pre>\n<p>&nbsp;<\/p>\n<h4>\u30a2\u30d7\u30ea\u306e\u8d77\u52d5<\/h4>\n<p>\u3082\u3046\u3001\u30a2\u30d7\u30ea\u306f\u8d77\u52d5\u51fa\u6765\u308b\u72b6\u614b\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng serve<\/pre>\n<p>\u300c<strong>ng\u30b3\u30de\u30f3\u30c9<\/strong>\u300d\u306e\u300c<strong>serve<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">Hash: d9ba5b265148f870d6b9                                                              \r\nTime: 6964ms\r\nchunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 158 kB {4} &#x5B;initial] &#x5B;rendered]\r\nchunk    {1} main.bundle.js, main.bundle.js.map (main) 3.62 kB {3} &#x5B;initial] &#x5B;rendered]\r\nchunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.77 kB {4} &#x5B;initial] &#x5B;rendered]\r\nchunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.37 MB &#x5B;initial] &#x5B;rendered]\r\nchunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes &#x5B;entry] &#x5B;rendered]\r\nwebpack: Compiled successfully.<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001webpack\u306b\u3088\u308b\u30d3\u30eb\u30c9\u304c\u8d70\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d3\u30eb\u30c9\u5b8c\u4e86\u5f8c\u3001<strong>localhost:4200<\/strong> \u306b\u3001\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u30a2\u30d7\u30ea\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/localhost:4200\/\" target=\"_blank\">http:\/\/localhost:4200\/<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7806\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/d881c4fa1ee1caa7ad02c48e9e0238c6.png\" alt=\"\" width=\"212\" height=\"74\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/d881c4fa1ee1caa7ad02c48e9e0238c6.png 424w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/d881c4fa1ee1caa7ad02c48e9e0238c6-300x105.png 300w\" sizes=\"auto, (max-width: 212px) 100vw, 212px\" \/><\/p>\n<p>\u3053\u306e\u8868\u793a\u3059\u308c\u3070\u6210\u529f\u3002<\/p>\n<p>\u7c21\u5358\u3067\u3059\u306d\uff01\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f\uff01<\/p>\n<h5>\u30aa\u30d7\u30b7\u30e7\u30f3<\/h5>\n<p>\u300c<strong>serve<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u306f\u305d\u306e\u4ed6\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066<strong>\u30db\u30b9\u30c8\u3084\u30dd\u30fc\u30c8\u306e\u6307\u5b9a<\/strong>\u3082\u884c\u3048\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng serve --host 0.0.0.0 --port 4201<\/pre>\n<p>&#8211;host \u3067\u30db\u30b9\u30c8\u6307\u5b9a\u3001&#8211;port \u3067\u30dd\u30fc\u30c8\u6307\u5b9a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>generate \u30b3\u30de\u30f3\u30c9<\/h4>\n<p>\u300c<strong>Angular CLI<\/strong>\u300d\u306f\u3001\u30a2\u30d7\u30ea\u306e\u96db\u5f62\u3092\u751f\u6210\u3059\u308b\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u300c<strong>generate<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\u3001\u300c<strong>Component<\/strong>\u300d\u3084\u300c<strong>Directive<\/strong>\u300d\u3084\u300c<strong>Service<\/strong>\u300d\u7b49\u306e\u751f\u6210\u3082\u884c\u3048\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<table>\n<thead>\n<tr>\n<th>Scaffold<\/th>\n<th>Usage<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Component<\/td>\n<td><code>ng g component my-new-component<\/code><\/td>\n<\/tr>\n<tr>\n<td>Directive<\/td>\n<td><code>ng g directive my-new-directive<\/code><\/td>\n<\/tr>\n<tr>\n<td>Pipe<\/td>\n<td><code>ng g pipe my-new-pipe<\/code><\/td>\n<\/tr>\n<tr>\n<td>Service<\/td>\n<td><code>ng g service my-new-service<\/code><\/td>\n<\/tr>\n<tr>\n<td>Class<\/td>\n<td><code>ng g class my-new-class<\/code><\/td>\n<\/tr>\n<tr>\n<td>Guard<\/td>\n<td><code>ng g guard my-new-guard<\/code><\/td>\n<\/tr>\n<tr>\n<td>Interface<\/td>\n<td><code>ng g interface my-new-interface<\/code><\/td>\n<\/tr>\n<tr>\n<td>Enum<\/td>\n<td><code>ng g enum my-new-enum<\/code><\/td>\n<\/tr>\n<tr>\n<td>Module<\/td>\n<td><code>ng g module my-module<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u300c<strong>generate<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3067\u3001\u300c<strong>component<\/strong>\u300d\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng g component my-new-component<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">create src\/app\/my-new-component\/my-new-component.component.css\r\ncreate src\/app\/my-new-component\/my-new-component.component.html\r\ncreate src\/app\/my-new-component\/my-new-component.component.spec.ts\r\ncreate src\/app\/my-new-component\/my-new-component.component.ts\r\nupdate src\/app\/app.module.ts<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u8a72\u5f53\u3059\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u300c<strong>component.html<\/strong>\u300d\u300c<strong>component.css<\/strong>\u300d\u300c<strong>component.ts<\/strong>\u300d\u300c<strong>component.spec.ts<\/strong>\u300d<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u304c \u300csrc\/app\/\u300d\u4ee5\u4e0b\u306b\u751f\u6210\u3055\u308c\u308b\u306e\u3068\u3001\u300capp.module.ts\u300d\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u300c<strong>app.module.ts<\/strong>\u300d\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001<strong>MyNewComponentComponent<\/strong>\u306e <strong>import\u6587<\/strong>\u3068\u3001<strong>declarations<\/strong>\u306e\u914d\u5217\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>app.module.ts<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">@NgModule({\r\n  declarations: &#x5B;\r\n    AppComponent,\r\n    MyNewComponentComponent\r\n  ],\r\n  imports: &#x5B;\r\n    BrowserModule,\r\n    FormsModule,\r\n    HttpModule\r\n  ],\r\n  providers: &#x5B;],\r\n  bootstrap: &#x5B;AppComponent]\r\n})\r\nexport class AppModule { }<\/pre>\n<p>\u3075\u3080\u3075\u3080\u3002\u4fbf\u5229\u3067\u3059\u306d\uff01<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u3082\u3046\u4e00\u5ea6\u00a0<strong>Component<\/strong>\u3067\u3042\u308b\u3001<strong>my-new-component2<\/strong>\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng g component my-new-component2<\/pre>\n<p><strong>\u300csrc\/app\/<\/strong>\u300d\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u300c<strong>src\/app\/\u300d<\/strong>\u4ee5\u4e0b\u306b\u3001<strong>my-new-component\u00a0<\/strong>\u3068 <strong>my-new-component2<\/strong>\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u751f\u6210\u3055\u308c\u3066\u304a\u308a\u3001\u305d\u308c\u305e\u308c\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>src\/app\/<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">app.component.css\r\napp.component.html\r\napp.component.spec.ts\r\napp.component.ts\r\napp.module.ts\r\nmy-new-component\r\nmy-new-component2<\/pre>\n<p>\u305d\u308c\u3067\u306f\u3001\u4eca\u5ea6\u306f\u300c<strong>interface<\/strong>\u300d\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng g interface my-new-component<\/pre>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u304c\u8d70\u308a\u3001my-new-component.ts\u304c\u3001\u300csrc\/app\/\u300d\u4ee5\u4e0b\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">create src\/app\/my-new-component.ts<\/pre>\n<p>src\/app\/\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u3002<\/p>\n<p><strong>src\/app\/<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">app.component.css\r\napp.component.html\r\napp.component.spec.ts\r\napp.component.ts\r\napp.module.ts\r\nmy-new-component\r\nmy-new-component.ts\r\nmy-new-component2<\/pre>\n<p>\u3075\u3080\u3075\u3080\u3002\u4fbf\u5229\u3067\u3059\u306d\uff01<\/p>\n<p>\u4eca\u5ea6\u306f\u300c<strong>service<\/strong>\u300d\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">ng g service my-new-service<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">create src\/app\/my-new-service.service.spec.ts\r\ncreate src\/app\/my-new-service.service.ts<\/pre>\n<p>\u300c<strong>my-new-service.service.ts<\/strong>\u300d\u3068\u300c<strong>my-new-service.service.spec.ts<\/strong>\u300d\u304c\u3001src\/app\/\u4ee5\u4e0b\u306b\u751f\u6210\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><strong>src\/app\/<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">app.component.css\r\napp.component.html\r\napp.component.spec.ts\r\napp.component.ts\r\napp.module.ts\r\nmy-new-component\r\nmy-new-component.ts\r\nmy-new-component2\r\nmy-new-service.service.spec.ts\r\nmy-new-service.service.ts<\/pre>\n<p>\u3075\u3080\u3075\u3080\u3002\u4fbf\u5229\u3067\u3059\u306d\uff01<\/p>\n<p>\u3067\u3082\u3067\u3059\u3088\u3002\u30a2\u30d7\u30ea\u304c\u30b9\u30b1\u30fc\u30eb\u3059\u308b\u5ea6\u306b\u300c<strong>src\/app\/<\/strong>\u300d\u4ee5\u4e0b\u306b\u751f\u6210\u3055\u308c\u308b\u3068\u306a\u308b\u3068\u3001\u3061\u3087\u3063\u3068\u80a5\u5927\u5316\u3059\u308b\u3068\u6574\u7406\u3055\u308c\u3066\u3044\u306a\u3044\u6c17\u304c\u3057\u307e\u3059\u3088\u306d\u3002\u3002\u3002<\/p>\n<p>\u73fe\u72b6\u306f\u4ee5\u4e0b\u306e\u69d8\u306a\u611f\u3058\u3067\u3059\u304c\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">front\r\n\u251c\u2500 e2e\r\n\u2502   \u2514\u2500 ...\r\n\u2514\u2500 src\r\n    \u251c\u2500 component-name01\r\n    \u2502  \u251c\u2500 hoge.component.html\r\n    \u2502  \u251c\u2500 hoge.component.css\r\n    \u2502  \u251c\u2500 hoge.component.ts\r\n    \u2502  ....\r\n    \u251c\u2500 component-name02\r\n    \u2502  \u251c\u2500 hoge.component.css\r\n    \u2502  \u251c\u2500 hoge.component.ts\r\n    \u2502  ....\r\n    \u251c\u2500 my-new-component.ts\r\n    \u251c\u2500 my-new-service.service.ts\r\n    \u251c\u2500 app.component.html\r\n    \u251c\u2500 app.component.scss\r\n    \u251c\u2500 app.component.ts\r\n    \u251c\u2500 app.module.ts\r\n    \u251c\u2500 app.routing.module.ts\r\n    \u251c\u2500 app.routes.ts\r\n    \u2514\u2500 index.ts<\/pre>\n<p>\u300c<strong>component<\/strong>\u300d\u3084\u300c<strong>interface<\/strong>\u300d\u7b49\u3067\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u5207\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u6574\u7406\u3057\u305f\u3044\uff01<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">front\r\n\u251c\u2500 e2e\r\n\u2502   \u2514\u2500 ...\r\n\u2514\u2500 src\r\n    \u251c\u2500 assets\r\n    \u251c\u2500 service\r\n    \u251c\u2500 directive\r\n    \u251c\u2500 interface\r\n    \u251c\u2500 class\r\n    \u251c\u2500 component\r\n    \u2502  \u251c\u2500 component-name\r\n    \u2502  \u2502  \u251c\u2500 hoge.component.html\r\n    \u2502  \u2502  \u251c\u2500 hoge.component.css\r\n    \u2502  \u2502  \u2514\u2500 hoge.component.ts\r\n    \u2502  \u251c\u2500 component-name02\r\n    \u2502  \u251c\u2500 share or common\r\n    \u2502  ....\r\n    \u251c\u2500 app.component.html\r\n    \u251c\u2500 app.component.scss\r\n    \u251c\u2500 app.component.ts\r\n    \u251c\u2500 app.module.ts\r\n    \u251c\u2500 app.routing.module.ts\r\n    \u251c\u2500 app.routes.ts\r\n    \u2514\u2500 index.ts<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001\u300c<strong>\u5148\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u751f\u6210\u3057\u30d1\u30b9\u3092\u6307\u5b9a<\/strong>\u300d\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u53ef\u80fd\u306e\u69d8\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u300c<strong>component<\/strong>\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u751f\u6210\u3057\u3066\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u300c<strong>component<\/strong>\u300d\u30d5\u30a1\u30a4\u30eb\u4e00\u5f0f\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">mkdir src\/app\/component<\/pre>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u751f\u6210\u3057\u3001\u300ccomponent\/\u300d\u3092\u542b\u3093\u3060component\u30cd\u30fc\u30e0\u6307\u5b9a\u3092\u884c\u3046\u3068\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng g component component\/my-new-component<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u307e\u3057\u3066\u306f\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5b58\u5728\u3057\u306a\u3044\u3068\u3001component\/my-new-component \u306e\u540d\u524d\u306ecomponent\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u5fc5\u305a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u7528\u610f\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">create src\/app\/component\/my-new-component\/my-new-component.component.css\r\ncreate src\/app\/component\/my-new-component\/my-new-component.component.html\r\ncreate src\/app\/component\/my-new-component\/my-new-component.component.spec.ts\r\ncreate src\/app\/component\/my-new-component\/my-new-component.component.ts\r\nupdate src\/app\/app.module.ts<\/pre>\n<p>import\u306epath\u3082\u304d\u3061\u3093\u3068\u901a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3002<\/p>\n<p><strong>app.module.ts<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">import { MyNewComponentComponent } from '.\/component\/my-new-component\/my-new-component.component';<\/pre>\n<p>\u3068\u3001\u3053\u306e\u8fba\u3001\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3082\u3042\u307e\u308a\u898b\u5f53\u305f\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u8a73\u3057\u304f\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u30c6\u30b9\u30c8<\/h4>\n<p>\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u5b9f\u884c\u30b3\u30de\u30f3\u30c9\u306f\u300c<strong>ng test<\/strong>\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng test<\/pre>\n<p><strong>Karma<\/strong>\u304c\u8d77\u52d5\u3057\u3001<strong>\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u304c\u8868\u793a<\/strong>\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u300c<strong>ng new<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3067\u30a2\u30d7\u30ea\u3092\u751f\u6210\u3057\u305f\u5834\u5408\u3001\u300c<strong>app.component.spec.ts<\/strong>\u300d\u30d5\u30a1\u30a4\u30eb\u3082\u751f\u6210\u3055\u308c\u3066\u3044\u3066\u3001\u3053\u3061\u3089\u304c<strong>\u521d\u671f\u6642\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u300c<strong>ng test<\/strong>\u300d\u306f watch\u30e2\u30fc\u30c9\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3001\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3068\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u7d50\u679c\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u8a66\u3057\u306b\u3001\u300c<strong>app.component.spec.ts<\/strong>\u300d\u30d5\u30a1\u30a4\u30eb\u306e<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">expect(compiled.querySelector('h1').textContent).toContain('app works!');<\/pre>\n<p>\u306e &#8216;h1&#8217;\u3092 &#8216;h2&#8217;\u306b\u4fee\u6b63\u3057\u3066\u307f\u308b\u3068\u3001<\/p>\n<p><strong>app.component.spec.ts<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">it('should render title in a h1 tag', async(() =&gt; {\r\n  const fixture = TestBed.createComponent(AppComponent);\r\n  fixture.detectChanges();\r\n  const compiled = fixture.debugElement.nativeElement;\r\n  expect(compiled.querySelector('h2').textContent).toContain('app works!');\r\n}));<\/pre>\n<p>\u30c6\u30b9\u30c8\u306b\u5931\u6557\u3059\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7809\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/c66d727aac1cb711ef6baa72667a41ee.png\" alt=\"\" width=\"319\" height=\"160\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/c66d727aac1cb711ef6baa72667a41ee.png 730w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/c66d727aac1cb711ef6baa72667a41ee-300x150.png 300w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/p>\n<p>E2E\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u306f\u300c<strong>ng e2e<\/strong>\u300d \u30b3\u30de\u30f3\u30c9\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng e2e<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">Spec started\r\n\r\n  my-dream-app App\r\n    \u2713 should display message saying app works\r\n\r\nExecuted 1 of 1 spec SUCCESS in 0.685 sec.\r\n&#x5B;16:53:30] I\/launcher - 0 instance(s) of WebDriver still running\r\n&#x5B;16:53:30] I\/launcher - chrome #01 passed<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001Karma\u304c\u7acb\u3061\u4e0a\u304c\u308a\u3001E2E\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>E2E\u30c6\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u300ce2e\/\u300d\u30d5\u30a9\u30eb\u30c0\u4ee5\u4e0b\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4>\u30d3\u30eb\u30c9<\/h4>\n<p>\u6700\u5f8c\u306b\u3001\u30d3\u30eb\u30c9\u30b3\u30de\u30f3\u30c9\u3092\u3002<\/p>\n<p>\u30d3\u30eb\u30c9\u30b3\u30de\u30f3\u30c9\u306f\u300c<strong>ng build<\/strong>\u300d \u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng build<\/pre>\n<p>\u30d3\u30eb\u30c9\u30b3\u30de\u30f3\u30c9\u3092\u884c\u3046\u3068\u3001ng new \u30b3\u30de\u30f3\u30c9\u3067\u30a2\u30d7\u30ea\u3092\u751f\u6210\u3057\u305f\u521d\u671f\u6642\u3060\u3068\u3001\u300c<strong>dist<\/strong>\u300d\u30d5\u30a9\u30eb\u30c0\u304c\u751f\u6210\u3055\u308c<strong> dist\u30d5\u30a9\u30eb\u30c0\u4ee5\u4e0b\u306b\u30d3\u30eb\u30c9\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210<\/strong>\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><strong>dist\/<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">favicon.ico\r\nindex.html\r\ninline.bundle.js\r\ninline.bundle.js.map\r\nmain.bundle.js\r\nmain.bundle.js.map\r\npolyfills.bundle.js\r\npolyfills.bundle.js.map\r\nstyles.bundle.js\r\nstyles.bundle.js.map\r\nvendor.bundle.js\r\nvendor.bundle.js.map<\/pre>\n<p>\u30d5\u30a9\u30eb\u30c0\u306e\u6307\u5b9a\u306f\u3001<strong>.angular-cli.json\u306e apps\/outDir<\/strong> \u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u30d3\u30eb\u30c9\u5148\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u300c<strong>ng build<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u306f\u3001environment\u306e\u6307\u5b9a\u3082\u884c\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng build --environment prod<\/pre>\n<p>\u521d\u671f\u6642\u3067\u306f\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u672c\u756a\u74b0\u5883\u306e\u74b0\u5883\u5909\u6570\u3092\u7528\u3044\u305f\u30d3\u30eb\u30c9\u6307\u5b9a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u306f\u300c-e\u300d\u306a\u306e\u3067\u3001\u300c<strong>-e<\/strong>\u300d\u3067\u3082\u300c<strong>&#8211;environment<\/strong>\u300d\u3067\u3082OK\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u901a\u5e38\u300c<strong>ng build<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001digest\u4ed8\u304d\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u751f\u6210\u3055\u308c\u306a\u3044\u306e\u3067\u3059\u304c\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">ng build --prod<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u3067\u3001\u4ee5\u4e0b\u306e\u69d8\u306bdigest\u4ed8\u304d\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u751f\u6210\u304c\u3055\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">favicon.ico\r\nindex.html\r\ninline.b0d6bc9c41cbf6dbc033.bundle.js\r\nmain.831ce8bb583d77b006cd.bundle.js\r\npolyfills.2d45a4c73c85e24fe474.bundle.js\r\nstyles.d41d8cd98f00b204e980.bundle.css\r\nvendor.205c7417e47c580a2c34.bundle.js<\/pre>\n<h4>\u305d\u306e\u4ed6<\/h4>\n<p>\u305d\u306e\u4ed6\u3001\u300c<strong>\u4f55\u304c\u3067\u304d\u308b\u3063\u3051\uff1f\uff1f<\/strong>\u300d\u3068\u56f0\u3063\u305f\u3089\u300c<strong>ng help<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u884c\u3048\u308b\u4e8b\u3068\u30b3\u30de\u30f3\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3069\u304c\u30c9\u30ab\u30fc\u3063\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u56f0\u3063\u305f\u969b\u306f\u53e9\u304f\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ng help<\/pre>\n<p>\u3068\u3044\u3046\u4e8b\u3067\u3001<a href=\"https:\/\/cli.angular.io\/\" target=\"_blank\">Angular CLI<\/a> \u306e\u3054\u7d39\u4ecb\u3067\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7810\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/74e989e1bdb420fc3abc212e07579c3e.png\" alt=\"\" width=\"773\" height=\"289\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/74e989e1bdb420fc3abc212e07579c3e.png 1608w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/74e989e1bdb420fc3abc212e07579c3e-300x112.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/74e989e1bdb420fc3abc212e07579c3e-768x287.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2017\/04\/74e989e1bdb420fc3abc212e07579c3e-1024x382.png 1024w\" sizes=\"auto, (max-width: 773px) 100vw, 773px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3001Angular\u3092\u6271\u3046\u306a\u3089\u3001\u4f7f\u3046\u3079\u304d\u30c4\u30fc\u30eb\u300cAngular CLI\u300d\u306e\u3054\u7d39\u4ecb\u3067\u3059\u3002 \u300cAngular CLI\u300d\u3092\u4f7f\u3046\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u69d8\u3005\u306a\u4e8b\u304c\u5bb9\u6613\u306b\u884c\u3048\u307e\u3059\u3002 \u65b0\u898f\u3067\u30a2\u30d7\u30ea\u3092\u5236\u4f5c\u3059\u308b\u969b\u306f\u3001\u300cAngular CLI\u300d\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[203],"tags":[171,59,167,177,176,40,166,37,47,169,180,44,45,111,95,39,78,118],"class_list":{"0":"post-7786","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-angular2","7":"tag-android","8":"tag-android-sdk","9":"tag-css","10":"tag-css3","11":"tag-html5","12":"tag-ios-sdk","13":"tag-iphone","14":"tag-iphone-","15":"tag-javascript-2","16":"tag-mac","17":"tag-mysql","18":"tag-web","20":"tag-wordpress-2","21":"tag-95","22":"tag-39","23":"tag-78","24":"tag-118"},"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7786"}],"version-history":[{"count":14,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7786\/revisions"}],"predecessor-version":[{"id":7815,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7786\/revisions\/7815"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}