{"id":7553,"date":"2016-12-30T04:22:07","date_gmt":"2016-12-29T19:22:07","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=7553"},"modified":"2017-01-20T04:21:27","modified_gmt":"2017-01-19T19:21:27","slug":"angular2%e3%81%ae%e5%a7%8b%e3%82%81%e6%96%b9%e3%80%82angular2-%e5%85%ac%e5%bc%8f%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab-setup-for-local-development%ef%bc%88%e7%b0%a1","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=7553","title":{"rendered":"Angular2\u306e\u59cb\u3081\u65b9\u3002Angular2 \u516c\u5f0f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb \u2013 SETUP FOR LOCAL DEVELOPMENT\uff08\u7c21\u5358\u306a\u548c\u8a33\uff09"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/angular_set.png\" alt=\"angular_set\" width=\"600\" height=\"300\" class=\"alignnone size-full wp-image-7571\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/angular_set.png 600w, https:\/\/www.webcyou.com\/wp-content\/uploads\/angular_set-300x150.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u306f\u3001\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u306e\u7c21\u5358\u306a\u548c\u8a33\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/angular.io\/docs\/ts\/latest\/guide\/setup.html\">Angular2 tutorial | SETUP FOR LOCAL DEVELOPMENT<\/a><\/p>\n<p>\u305d\u306e\u4ed6\u306e\u30da\u30fc\u30b8<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/?p=7507\">Angular2\u306e\u59cb\u3081\u65b9\u3002Angular2 \u516c\u5f0f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb \u2013 Introduction\uff08\u7c21\u5358\u306a\u548c\u8a33\uff09<\/a><\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/?p=7510\">Angular2\u306e\u59cb\u3081\u65b9\u3002Angular2 \u516c\u5f0f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb \u2013 The Hero Editor\uff08\u7c21\u5358\u306a\u548c\u8a33\uff09<\/a><\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/?p=7512\">Angular2\u306e\u59cb\u3081\u65b9\u3002Angular2 Angular2\u306e\u59cb\u3081\u65b9\u3002Angular2 \u516c\u5f0f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb &#8211; Master\/Detail\uff08\u7c21\u5358\u306a\u548c\u8a33\uff09<\/a><\/p>\n<p>\u6e96\u5099\u3092\u7d20\u65e9\u304f\u3067\u304d\u308b\u3001\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u30b7\u30fc\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30de\u30b7\u30f3\u306e\u958b\u767a\u3092\u3088\u308a\u8fc5\u901f\u304b\u3064\u52b9\u7387\u7684\u306b\u884c\u3046\u3002<\/p>\n<h4 id=\"setup-a-local-development-environment\">Setup a local development environment<\/h4>\n<p><a href=\"https:\/\/angular.io\/resources\/live-examples\/quickstart\/ts\/eplnkr.html\" target=\"_blank\">\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u30e9\u30a4\u30d6\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<\/a>\u306e\u4f8b\u306f\u3001<strong>Angular playground<\/strong>\u3067\u3059\u3002<strong>\u5b9f\u969b\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\u5834\u6240\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/strong><\/p>\n<p>\u3042\u306a\u305f\u306f\u81ea\u5206\u306e\u30de\u30b7\u30f3\u3067<a href=\"https:\/\/angular.io\/docs\/ts\/latest\/guide\/setup.html#why-locally\" target=\"_blank\">\u30ed\u30fc\u30ab\u30eb\u306b\u958b\u767a<\/a>\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30ed\u30fc\u30ab\u30eb\u306b\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308a\u3001Angular\u3092\u5b66\u3093\u3067\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;&#8211;<\/p>\n<p><strong>\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u30b7\u30fc\u30c9\u306e\u30e9\u30a4\u30d6\u30b5\u30f3\u30d7\u30eb\u306f<\/strong>\u3001<a href=\"https:\/\/angular.io\/resources\/live-examples\/setup\/ts\/eplnkr.html\" target=\"_blank\">QuickStart\u3068\u3001\u30ea\u30c3\u30c1\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f8b<\/a><strong>\u3092\u5bb9\u6613\u306b\u7c21\u5358\u306b\u59cb\u3081\u308c\u308b\u3001app.module.ts\u3068main.ts\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u304c\u8a2d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059\uff08\u5f8c\u8ff0\uff09\u3002<\/strong><\/p>\n<p>&#8212;&#8211;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/angular.io\/docs\/ts\/latest\/guide\/setup.html#install-prerequisites\" target=\"_blank\">node\u3068npm\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>1.<\/strong> \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\uff08\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u3068\u547d\u540d\u3002\u5f8c\u3067\u540d\u524d\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\uff09\u3002<br \/>\n<strong>2.<\/strong> QuickStart\u30b7\u30fc\u30c9\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u306b<a href=\"https:\/\/angular.io\/docs\/ts\/latest\/guide\/setup.html#clone\" target=\"_blank\">\u30af\u30ed\u30fc\u30f3<\/a>\u307e\u305f\u306f<a href=\"https:\/\/angular.io\/docs\/ts\/latest\/guide\/setup.html#download\" target=\"_blank\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3057\u307e\u3059\u3002<br \/>\n<strong>3.<\/strong> <a href=\"https:\/\/angular.io\/docs\/ts\/latest\/guide\/setup.html#install-prerequisites\" target=\"_blank\">npm<\/a>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<strong>4.<\/strong> npm start\u3092\u5b9f\u884c\u3057\u3066\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h5>Clone<\/h5>\n<p><strong>\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8 Github \u30ec\u30dd\u30b8\u30c8\u30ea<\/strong><br \/>\n<a href=\"https:\/\/github.com\/angular\/quickstart\">https:\/\/github.com\/angular\/quickstart<\/a><\/p>\n<p>\u3053\u308c\u3089\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30af\u30ed\u30fc\u30f3\u304b\u3089\u8d77\u52d5\u307e\u3067\u306e\u624b\u9806\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ git clone https:\/\/github.com\/angular\/quickstart.git quickstart\r\n$ cd quickstart\r\n$ npm install\r\n$ npm start<\/pre>\n<h5 id=\"download\">Download<\/h5>\n<p><a href=\"https:\/\/github.com\/angular\/quickstart\/archive\/master.zip\" target=\"_blank\">\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u30b7\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u306b\u89e3\u51cd\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u3053\u308c\u3089\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u6b8b\u308a\u306e\u624b\u9806\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">cd quickstart\r\nnpm install\r\nnpm start<\/pre>\n<h4>What&#8217;s in the QuickStart seed?<\/h4>\n<p>QuickStart\u30b7\u30fc\u30c9\u306b\u306f\u3001QuickStart\u30d7\u30ec\u30a4\u30b0\u30e9\u30a6\u30f3\u30c9\u3068\u540c\u3058\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u771f\u306e\u76ee\u7684\u306f\u3001\u5730\u65b9\u958b\u767a\u306e\u305f\u3081\u306e\u78ba\u304b\u306a\u57fa\u76e4\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u7d50\u679c\u3001\u30de\u30b7\u30f3\u4e0a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u306b\u306f\u3055\u3089\u306b\u591a\u304f\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u3089\u306f\u3001\u5f8c\u307b\u3069\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\/ app\u30d5\u30a9\u30eb\u30c0\u30fc\u5185\u306e\u6b21\u306e3\u3064\u306eTypeScript\uff08.ts\uff09\u30d5\u30a1\u30a4\u30eb\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">app\r\n\u251c\u2500\u2500 app.component.ts\r\n\u251c\u2500\u2500 app.module.ts\r\n\u2514\u2500\u2500 main.ts<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">import { Component } from '@angular\/core';\r\n\r\n@Component({\r\n selector: 'my-app',\r\n template: `&lt;h1&gt;Hello {{name}}&lt;\/h1&gt;`\r\n})\r\nexport class AppComponent { name = 'Angular'; }<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">import { NgModule } from '@angular\/core';\r\nimport { BrowserModule } from '@angular\/platform-browser';\r\nimport { AppComponent } from '.\/app.component';\r\n\r\n@NgModule({\r\n imports: &#x5B; BrowserModule ],\r\n declarations: &#x5B; AppComponent ],\r\n bootstrap: &#x5B; AppComponent ]\r\n})\r\nexport class AppModule { }<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">import { platformBrowserDynamic } from '@angular\/platform-browser-dynamic';\r\nimport { AppModule } from '.\/app.module';\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule);<\/pre>\n<p>\u3059\u3079\u3066\u306e\u30ac\u30a4\u30c9\u3068cookbooks \u306b\u306f\u3001\u5c11\u306a\u304f\u3068\u3082\u3053\u308c\u3089\u306e\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5404\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u660e\u78ba\u306a\u76ee\u7684\u304c\u3042\u308a\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u6210\u9577\u3059\u308b\u306b\u3064\u308c\u3066\u72ec\u7acb\u3057\u3066\u9032\u5316\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>File<\/strong><\/td>\n<td><strong>Purpose<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>app.component.ts<\/strong><\/td>\n<td>QuickStart\u30d7\u30ec\u30a4\u30b0\u30e9\u30a6\u30f3\u30c9\u3068\u540c\u3058AppComponent\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u9032\u5316\u3059\u308b\u306b\u3064\u308c\u3066\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30c4\u30ea\u30fc\u306b\u306a\u308b\u8981\u7d20\u306e\u30eb\u30fc\u30c8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>app.module.ts<\/strong><\/td>\n<td>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30a2\u30bb\u30f3\u30d6\u30eb\u3059\u308b\u65b9\u6cd5\u3092Angular\u306b\u4f1d\u3048\u308b\u30eb\u30fc\u30c8\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3042\u308bAppModule\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u306fAppComponent\u3060\u3051\u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002\u5f8c\u306b\u5ba3\u8a00\u3059\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u5897\u3048\u3066\u3044\u304f\u3067\u3057\u3087\u3046\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>main.ts<\/strong><\/td>\n<td>\u00a0JiT\u30b3\u30f3\u30d1\u30a4\u30e9\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u307b\u3068\u3093\u3069\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u958b\u767a\u306b\u3068\u3063\u3066\u5408\u7406\u7684\u306a\u9078\u629e\u3067\u3042\u308a\u3001Plunker\u306e\u3088\u3046\u306a\u30e9\u30a4\u30d6\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u74b0\u5883\u3067\u5b9f\u884c\u3055\u308c\u308b\u30b5\u30f3\u30d7\u30eb\u306b\u3068\u3063\u3066\u552f\u4e00\u306e\u5b9f\u884c\u53ef\u80fd\u306a\u9078\u629e\u80a2\u3067\u3059\u3002<\/p>\n<p>\u5f8c\u3067\u5225\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u306f\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u5f8c\u534a\u3067\u8aac\u660e\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><\/h3>\n<h3 id=\"next-step\">Next Step<\/h3>\n<p>Angular\u3092\u521d\u3081\u3066\u304a\u4f7f\u3044\u306e\u5834\u5408\u306f\u3001<a href=\"https:\/\/angular.io\/docs\/ts\/latest\/guide\/learning-angular.html\" target=\"_blank\">learning path.<\/a>\u00a0\u3092\u884c\u3046\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>Appendix: node and npm<\/h4>\n<p>Node.js\u3068npm\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3084\u305d\u306e\u4ed6\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u305f\u6700\u65b0\u306eWeb\u958b\u767a\u306b\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/p>\n<p>Node\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u958b\u767a\u3068\u30d3\u30eb\u30c9\u306e\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3067\u3059\u3002 npm\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u81ea\u4f53\u306f\u3001Node\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3042\u308a\u3001JavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u30de\u30b7\u30f3\u306b\u307e\u3060\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u4eca\u3059\u3050\u5165\u624b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"https:\/\/docs.npmjs.com\/getting-started\/installing-node\" target=\"_blank\">https:\/\/docs.npmjs.com\/getting-started\/installing-node<\/a><\/p>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\/\u30b3\u30f3\u30bd\u30fc\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3067node -v\u304a\u3088\u3073npm -v\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30ce\u30fc\u30c9v4.x.x\u4ee5\u4e0a\u304a\u3088\u3073npm 3.x.x\u4ee5\u4e0a\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>nvm\u306f\u8907\u6570\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30ce\u30fc\u30c9\u3068npm\u3092\u7ba1\u7406\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ed6\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30ce\u30fc\u30c9\u3068npm\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30de\u30b7\u30f3\u4e0a\u3067\u3059\u3067\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001nvm\u304c\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>Appendix: Why develop locally<\/h4>\n<p>&nbsp;<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u306e\u30e9\u30a4\u30d6\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u3001Angular\u3092\u63a2\u691c\u3059\u308b\u306e\u306b\u6700\u9069\u306a\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n\u307b\u307c\u3059\u3079\u3066\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30da\u30fc\u30b8\u306b\u30ea\u30f3\u30af\u304c\u3042\u308a\u3001\u5b8c\u6210\u3057\u305f\u30b5\u30f3\u30d7\u30eb\u304c\u30d6\u30e9\u30a6\u30b6\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u904a\u3093\u3060\u308a\u3001\u5909\u66f4\u3092\u53cb\u4eba\u3068\u5171\u6709\u3057\u305f\u308a\u3001\u81ea\u5206\u306e\u30de\u30b7\u30f3\u3067\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u306b\u306f\u3001AppComponent\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u5185\u90e8\u3067playground\u306e\u307f\u306eapp.module.ts\u304a\u3088\u3073main.ts\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u8aad\u8005\u306f\u6c17\u3092\u6563\u3089\u3059\u3053\u3068\u306a\u304f\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u30b5\u30f3\u30d7\u30eb\u306fQuickStart\u30b7\u30fc\u30c9\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f55\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u305b\u305a\u306b\u3053\u308c\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Plunkr\u306e\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u5225\u306e\u30bf\u30d6\u3067\u958b\u304d\u3001\u7d9a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3059\u3079\u3066\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3001\u30e1\u30bf\u30c7\u30fc\u30bf\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d7\u3051\u53d6\u308b@Component\u30c7\u30b3\u30ec\u30fc\u30bf\u95a2\u6570\u3067\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30bf\u30c7\u30fc\u30bf\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30af\u30e9\u30b9\u304c\u3069\u306e\u3088\u3046\u306b\u9023\u643a\u3057\u3066\u52d5\u4f5c\u3059\u308b\u304b\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p>selector\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001index.html\u306e\u30ab\u30b9\u30bf\u30e0&lt;my-app&gt;\u30bf\u30b0\u5185\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306bAngular\u306b\u6307\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>Playground\u3068\u3057\u3066\u306e\u30e9\u30a4\u30d6\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u74b0\u5883\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u30b5\u30f3\u30d7\u30eb\u3092\u8a66\u3057\u3066\u81ea\u5206\u3067\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u554f\u984c\u3092\u63d0\u51fa\u3057\u305f\u308a\u3001Angular\u81ea\u4f53\u3067\u554f\u984c\u3092\u63d0\u51fa\u3057\u305f\u308a\u3059\u308b\u3068\u304d\u306b\u3001\u30d0\u30b0\u3092\u518d\u73fe\u3059\u308b\u306e\u306b\u6700\u9069\u306a\u5834\u6240\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306e\u958b\u767a\u306b\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u306f\u3001\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u306e\u7c21\u5358\u306a\u548c\u8a33\u3067\u3059\u3002 Angular2 tutorial | SETUP FOR LOCAL DEVELOPMENT \u305d\u306e\u4ed6\u306e\u30da\u30fc\u30b8 Angular2\u306e\u59cb\u3081\u65b9\u3002Angular2 \u516c\u5f0f\u30c1\u30e5\u30fc\u30c8 [&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":[176,47,46,169,150,44,45,95,178,78,114,118],"class_list":{"0":"post-7553","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-angular2","7":"tag-html5","8":"tag-javascript-2","9":"tag-js","10":"tag-mac","11":"tag-vagrant","12":"tag-web","14":"tag-95","15":"tag-178","16":"tag-78","17":"tag-114","18":"tag-118"},"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7553","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=7553"}],"version-history":[{"count":11,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7553\/revisions"}],"predecessor-version":[{"id":7587,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7553\/revisions\/7587"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}