{"id":17294,"date":"2015-04-01T21:00:24","date_gmt":"2015-04-01T12:00:24","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=17294"},"modified":"2015-04-23T06:29:39","modified_gmt":"2015-04-22T21:29:39","slug":"yeoman%e3%81%a7web%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ae%e3%83%97%e3%83%ad%e3%83%88%e3%82%bf%e3%82%a4%e3%83%97%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/17294.html","title":{"rendered":"Yeoman\u3067Web\u30b5\u30a4\u30c8\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u300c<a href=\"http:\/\/startbootstrap.com\/index.html\">Start Bootstrap &#8211; Free Bootstrap Themes and Templates<\/a>\u300d\u306b\u3042\u308b\u30c6\u30fc\u30de\u3084\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046\u3068\u304d\u306b\u624b\u8efd\u306b\u8a66\u3059\u306b\u306f\u3069\u3046\u3059\u308b\u306e\u304c\u3044\u3044\u304b\u8003\u3048\u3066\u3044\u307e\u3059\u3002Yeoman(<a href=\"http:\/\/yeoman.io\/\">The web&#8217;s scaffolding tool for modern webapps | Yeoman<\/a>)\u3092\u4f7f\u3046\u3068Web\u30b5\u30a4\u30c8\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u3092\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u308b\u306e\u3067\u3001\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3044\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3068\u601d\u3044\u3001\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u57fa\u672c\u306f\u300c<a href=\"http:\/\/yeoman.io\/learning\/\">Getting started with Yeoman | Yeoman<\/a>\u300d\u3092\u898b\u308b\u3068\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\n<!--more--><br \/>\nnode.js\u3001npm\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3060\u3068\u3057\u307e\u3059\u3002yo\u3001bower\u3001grunt-cli\u3001gulp \u3092\u6700\u521d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ npm install -g yo bower grunt-cli gulp\r\n<\/pre>\n<p>Web\u30b5\u30a4\u30c8\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u306e\u306f generator-webapp \u306a\u306e\u3067\u3001\u3053\u308c\u3092\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002\u3069\u3093\u306a\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u304c\u3042\u308b\u304b\u306f\u300c<a href=\"http:\/\/yeoman.io\/generators\/\">Generators | Yeoman<\/a>\u300d\u3067\u63a2\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ npm install -g generator-webapp\r\n<\/pre>\n<p>generator-webapp\u304b\u3089\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b\u306b\u306f\u4e0b\u8a18\u306e\u3088\u3046yo\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002sample001\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30fc\u30c9\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002\u4e00\u756a\u6700\u521d\u306e\u9078\u629e\u80a2\u3067Bootstrap\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ mkdir sample001\r\n$ cd sample001\r\n$ yo webapp\r\n<\/pre>\n<p>\u5f8c\u306f\u3001grunt\u30b3\u30de\u30f3\u30c9\u3067\u8a66\u3057\u305f\u308a\u3001\u30c6\u30b9\u30c8\u3092\u3057\u305f\u308a\u3059\u308c\u3070\u3044\u3044\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ grunt serve\r\n$ grunt test\r\n$ grunt\r\n<\/pre>\n<p>\u4f8b\u3048\u3070\u300c<a href=\"http:\/\/ironsummitmedia.github.io\/startbootstrap-sb-admin-2\/pages\/index.html\">SB Admin 2 &#8211; Bootstrap Admin Theme<\/a>\u300d\u3092\u4f7f\u3063\u3066\u307f\u308b\u306b\u306f\u3001\u300c<a href=\"http:\/\/startbootstrap.com\/template-overviews\/sb-admin-2\/\">SB Admin 2 &#8211; Free Bootstrap Admin Theme &#8211; Start Bootstrap<\/a>\u300d\u306b\u3088\u308b\u3068bower\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u826f\u3044\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001sample001\u3092\u30ab\u30ec\u30f3\u30c8\u3068\u3057\u3066\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ bower install startbootstrap-sb-admin-2 --save\r\n<\/pre>\n<p>\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306bBootstrap\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u3042\u308f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u8b66\u544a\u304c\u3067\u305f\u306e\u3067\u3001SB Admin 2\u304c\u4f7f\u3048\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u3073\u307e\u3057\u305f\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001index.html\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001login.html\u3084dashboard.html\u3092\u7528\u610f\u3057\u3001\u300c<a href=\"http:\/\/ironsummitmedia.github.io\/startbootstrap-sb-admin-2\/pages\/index.html\">SB Admin 2 &#8211; Bootstrap Admin Theme<\/a>\u300d\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001\u3069\u3046\u3044\u3046\u8868\u793a\u306b\u306a\u308b\u304b\u78ba\u8a8d\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306fmain.css\u3092\u300c &lt;!&#8211; link rel=&#8221;stylesheet&#8221; href=&#8221;styles\/main.css&#8221; &#8211;&gt;\u300d\u3068\u7121\u52b9\u306b\u3059\u308b\u3068\u3001\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3057\u305f\u3002\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u753b\u9762\u306f\u8868\u3084\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u304c\u3046\u307e\u304f\u8868\u793a\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u30e1\u30cb\u30e5\u30fc\u3084\u30d1\u30cd\u30eb\u306f\u8868\u793a\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u308f\u3056\u308f\u3056Yeoman\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u3044\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u52d5\u304b\u3059\u306e\u3082\u305d\u308c\u307b\u3069\u96e3\u3057\u3044\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u8a66\u3057\u305f\u3044\u3068\u304d\u306b\u306f\u3001\u3053\u3046\u3044\u3046\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u307f\u308b\u306e\u306f\u3072\u3068\u3064\u306e\u9078\u629e\u80a2\u3067\u3059\u306d\u3002<\/p>\n<div>\n<iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=4774161209&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B00MUHSPK8&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div>\n<ul>\n<li><a type=\"amzn\" asin=\"B00MUHSPK8\">Learning Yeoman <\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u300cStart Bootstrap &#8211; Free Bootstrap Themes and Templates\u300d\u306b\u3042\u308b\u30c6\u30fc\u30de\u3084\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046\u3068\u304d\u306b\u624b\u8efd\u306b\u8a66\u3059\u306b\u306f\u3069\u3046\u3059\u308b\u306e\u304c\u3044\u3044\u304b\u8003\u3048\u3066\u3044\u307e\u3059\u3002Yeoman( &hellip; <a href=\"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/17294.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1180,1181,1150,1182,1179],"class_list":["post-17294","post","type-post","status-publish","format-standard","hentry","category-general","tag-bower","tag-grunt","tag-gulp","tag-sb-admin-2","tag-yeoman"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/17294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=17294"}],"version-history":[{"count":3,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/17294\/revisions"}],"predecessor-version":[{"id":17350,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/17294\/revisions\/17350"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=17294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=17294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=17294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}