{"id":235,"date":"2020-10-11T06:16:21","date_gmt":"2020-10-10T21:16:21","guid":{"rendered":"https:\/\/www.te9te9.com\/?p=235"},"modified":"2020-10-11T09:48:28","modified_gmt":"2020-10-11T00:48:28","slug":"html5%e3%81%a7%e3%82%a2%e3%83%97%e3%83%aa%e3%82%92%e4%bd%9c%e3%82%8d%e3%81%86%ef%bc%81ionic%e3%81%a7%e3%82%88%e3%81%8f%e4%bd%bf%e3%81%86%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e4%b8%80%e8%a6%a7","status":"publish","type":"post","link":"https:\/\/www.te9te9.com\/?p=235","title":{"rendered":"Html5\u3067\u30a2\u30d7\u30ea\u3092\u4f5c\u308d\u3046\uff01Ionic\u3067\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u4e00\u89a7"},"content":{"rendered":"\n<p>\u4e3b\u306b\u958b\u767a\u30eb\u30fc\u30c1\u30f3\u3067\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u3092\u7c21\u6f54\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd\n$ Ionic start\n? project name:\uff1c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30cd\u30fc\u30e0\u203b\u4efb\u610f\u306b\u5165\u529b\uff1e\n? Framework:\uff1c\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u9078\u629e\u203b\u4efb\u610f\uff1e\n? Starter template:\uff1c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30bf\u30a4\u30d7\uff1e\n? Integrate your new app with Capacitor to target native iOS and Android? Yes\n<span class=\"has-inline-color has-light-gray-color\">&lt;\u8a33&gt;\u65b0\u3057\u3044\u30a2\u30d7\u30ea\u3092Cap Capacitor\u3068\u7d71\u5408\u3057\u3066\u3001\u30cd\u30a4\u30c6\u30a3\u30d6\u306eiOS\u3068Android\u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u3057\u307e\u3059\u304b\uff1f<\/span><\/pre>\n\n\n\n<p>\u203b\u4e0a\u8a18\u624b\u9806\u5f8c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u59cb\u307e\u308b<br>\u203bGoogle\u3068\u533f\u540d\u30c7\u30fc\u30bf\u3092\u5171\u6709\u306e\u6709\u7121\u78ba\u8a8d\u304c\u3042\u308b\u3002\u3069\u3061\u3089\u3067\u3082\u826f\u3044<br>\u203bIonic\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u308b\u304b\uff1f\u306e\u78ba\u8a8d\u304c\u3042\u308b\u3002\u30ab\u30a6\u30f3\u30c8\u304c\u3042\u308b\u5834\u5408\u306f\u4e0d\u8981<\/p>\n\n\n\n<p>Ionic\u30d3\u30eb\u30c9<br>\u203bPlatform\u767b\u9332\u306e\u524d\u306b\u3001\u5148\u306bIonic\u3092\u30d3\u30eb\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ ionic build<\/pre>\n\n\n\n<p>Platform\u767b\u9332<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ npx cap add ios<br>$ npx cap add android<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u65b0\u898f\u30da\u30fc\u30b8\u4f5c\u6210<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">$ ionic g<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d7\u30ec\u30d3\u30e5\u30fc\u6a5f\u80fd<\/h3>\n\n\n\n<p>Ionic\u306e\u512a\u308c\u305f\u70b9\u3068\u3057\u3066\u3001\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3057\u3066\u4fdd\u5b58\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u753b\u9762\u306b\u5373\u5ea7\u306b\u53cd\u6620\u3059\u308b\u512a\u308c\u305f\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u6bce\u56de\u5b9f\u6a5f\u691c\u8a3c\u3084\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067\u958b\u767a\u52b9\u7387\u304c\u9ad8\u3044\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306f\u305d\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u6a5f\u80fd\u3092\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u5b9f\u884c\u5f8c\u30d6\u30e9\u30a6\u30b6\u30fc\u304c\u958b\u304d\u30d7\u30ec\u30d3\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ec\u30d3\u30e5\u30fc\u306e\u5b9f\u884c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd .\/\uff1c\u5148\u307b\u3069\u8a2d\u5b9a\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\uff1e\n$ Ionic serve<\/pre>\n\n\n\n<p>\u8907\u6570\u30d7\u30ec\u30d3\u30e5<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ ionic lab\n? Install @ionic\/lab? Yes<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0\u7528\u30d3\u30eb\u30c9<\/h3>\n\n\n\n<p>Ionic\u3067\u958b\u767a\u3068\u30c6\u30b9\u30c8\u3092\u884c\u3063\u305f\u30a2\u30d7\u30ea\u3092iOS\u3084Android\u306b\u66f8\u304d\u51fa\u3059\u3053\u3068\u3067\u3001\u5c02\u9580\u7684\u306a\u77e5\u8b58\u306a\u304f\u5404\u958b\u767a\u30c4\u30fc\u30eb\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u66f8\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>iOS\u7528\u30d3\u30eb\u30c9\u5b9f\u884c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ npx cap open ios<\/pre>\n\n\n\n<p>Android\u7528\u30d3\u30eb\u30c9\u5b9f\u884c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ npx cap open android<\/pre>\n\n\n\n<p>\u3053\u306e\u5f8c\u3001\u5404\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u958b\u767a\u30c4\u30fc\u30eb\u3067\u66f8\u304d\u51fa\u3059\u3053\u3068\u3067\u3001\u30b9\u30de\u30db\u3067\u52d5\u304f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\u30b5\u30a4\u30c8\uff1ahttps:\/\/qiita.com\/tq_jappy\/items\/5905d2f72b1e7f777e28<br>\u203b\u30b5\u30a4\u30c8\u6d88\u6ec5\uff1f<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e1\u30e2<\/h3>\n\n\n\n<p>\u30c7\u30fc\u30bf\u578b\u306e\u899a\u66f8\u304d<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td>\u3088\u304f\u4f7f\u3046\u578b<\/td><td><\/td><\/tr><tr><td>number<\/td><td>\u6570\u5b57<\/td><\/tr><tr><td>boolean<\/td><td>\u300ctrue\u300d\u300cfalse\u300d\u304c\u5165\u308b<\/td><\/tr><tr><td>string<\/td><td>\u6587\u5b57\u5217<\/td><\/tr><tr><td>any<\/td><td>\u306a\u3093\u3067\u3082OK<\/td><\/tr><tr><td>Function<\/td><td>\u95a2\u6570<\/td><\/tr><tr><td>[]<\/td><td>\u914d\u5217<\/td><\/tr><tr><td>{}<\/td><td>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/td><\/tr><tr><td>\u4f8b\uff1alet x: number;<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3b\u306b\u958b\u767a\u30eb\u30fc\u30c1\u30f3\u3067\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u3092\u7c21\u6f54\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10,11,15],"tags":[],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-ionic","category-ionic6","category-15"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.te9te9.com\/index.php?rest_route=\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.te9te9.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.te9te9.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.te9te9.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.te9te9.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=235"}],"version-history":[{"count":6,"href":"https:\/\/www.te9te9.com\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":248,"href":"https:\/\/www.te9te9.com\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions\/248"}],"wp:attachment":[{"href":"https:\/\/www.te9te9.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.te9te9.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.te9te9.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}