{"categories":["\u30c7\u30b6\u30a4\u30f3"],"url":"https://noubrain.hateblo.jp/entry/2019/04/01/015013","author_url":"https://blog.hatena.ne.jp/kinakobooster/","image_url":null,"provider_url":"https://hatena.blog","blog_title":"\u77e5\u6027\u304c\u306a\u3044","title":"React-create-app\u3067\u4f5c\u3063\u305f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092github pages\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f","published":"2019-04-01 01:50:13","author_name":"kinakobooster","type":"rich","version":"1.0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoubrain.hateblo.jp%2Fentry%2F2019%2F04%2F01%2F015013\" title=\"React-create-app\u3067\u4f5c\u3063\u305f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092github pages\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f - \u77e5\u6027\u304c\u306a\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","height":"190","blog_url":"https://noubrain.hateblo.jp/","description":"\u516c\u958b\u3057\u3066\u304b\u3089\u5f15\u3063\u304b\u304b\u308b\u7f60\u304c\u3042\u308a\u307e\u3059 \u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u3063\u3066\u308b\u5834\u5408 public/ \u30d5\u30a9\u30eb\u30c0\u306bCNAME\u3092\u5165\u308c\u305a\u306b gh-pages \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3073CNAME\u3092\u5165\u308c\u76f4\u3055\u306a\u3044\u3068404\u306b\u306a\u3063\u3066\u3057\u307e\u3046 \u30ed\u30fc\u30ab\u30eb\u3067\u306f\u751f\u304d\u3066\u305fRouter\u304c\u6b7b\u306c \u30ea\u30f3\u30af\u306f\u3067\u304d\u308b\u306e\u306bURL\u76f4\u6253\u3061\u3067404\u304c\u51fa\u308b Hash-router\u3092\u4f7f\u3046\u3068\u3088\u3044 react-router-dom\u3067Router\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001 import { Router, Route, Link } from \"react-router-dom\"; \u3092\u4ee5\u4e0b\u306b\u5909\u66f4\u3059\u308c\u3070\u3088\u3044 import { HashRouter as Router, Ro\u2026"}