{"id":501,"date":"2019-04-11T12:00:42","date_gmt":"2019-04-11T03:00:42","guid":{"rendered":"https:\/\/virtualcast.jp\/blog\/?p=501"},"modified":"2019-05-14T17:27:07","modified_gmt":"2019-05-14T08:27:07","slug":"ux-dx-friendly-with-nuxt-js","status":"publish","type":"post","link":"https:\/\/blog.virtualcast.jp\/blog\/2019\/04\/ux-dx-friendly-with-nuxt-js\/","title":{"rendered":"nuxt.js \u306b\u3088\u308b UX\/DX \u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a Web \u30b5\u30fc\u30d3\u30b9\u958b\u767a"},"content":{"rendered":"\r\n<p>\u521d\u3081\u307e\u3057\u3066\u3002\u30b6\u30fb\u30b7\u30fc\u30c9\u30aa\u30f3\u30e9\u30a4\u30f3\u958b\u767a\u62c5\u5f53\u306e\u5c71\u5cb8\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u793e\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b 3D \u30e2\u30c7\u30eb\u6d41\u901a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0 <a href=\"https:\/\/seed.online\">\u30b6\u30fb\u30b7\u30fc\u30c9\u30aa\u30f3\u30e9\u30a4\u30f3<\/a> \u3067\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u6280\u8853\u306b <a href=\"https:\/\/ja.nuxtjs.org\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">nuxt.js<\/a> \u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u3092\u4e00\u884c\u3067\u8aac\u660e\u3059\u308b\u3068\u3001<strong>\u300c Vue.js \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3092\u30d9\u30fc\u30b9\u306b\u3001 UX\/DX \u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a Web \u30b5\u30fc\u30d3\u30b9\u3092\u4f5c\u308c\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300d<\/strong> \u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3064\u307e\u308a\u3001\u305d\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u5229\u7528\u3059\u308b\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u306e\u4f53\u9a13\u3082\u3088\u304f\u3001\u305d\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u958b\u767a\u3059\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u30e6\u30fc\u30b6\u306e\u4f53\u9a13\u3082\u3088\u304f\u3001\u3068\u3044\u3046\u5229\u7528\u8005\u30fb\u958b\u767a\u8005\u3069\u3061\u3089\u306b\u3082\u30e1\u30ea\u30c3\u30c8\u306e\u3042\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3069\u306e\u3088\u3046\u306a\u90e8\u5206\u3067\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a\u306e\u304b\u3001\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><!--more--><\/p>\r\n\r\n\r\n\r\n<h2>\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u30fb\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc<\/h2>\r\n\r\n\r\n\r\n<p>\u5b9f\u969b\u306b Web \u30b5\u30fc\u30d3\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u3078\u306e\u30b5\u30dd\u30fc\u30c8\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/h3>\r\n\r\n\r\n\r\n<p>Web \u30b5\u30fc\u30d3\u30b9\u306e\u6307\u6a19\u3068\u3057\u3066\u6700\u3082\u6ce8\u76ee\u3055\u308c\u308b\u306e\u306f\u3001\u3084\u306f\u308a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u3067\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u6700\u65b0\u6280\u8853\u3084 Vue.js \u306e\u8c4a\u5bcc\u306a\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3092\u3075\u3093\u3060\u3093\u306b\u6d3b\u7528\u3057\u3066\u3001\u30e6\u30fc\u30b6\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u898b\u305b\u3089\u308c\u308b\u307e\u3067\u306e\u6642\u9593\u3001\u753b\u9762\u66f4\u65b0\u306e\u6642\u9593\u3092\u6700\u77ed\u306b\u8fd1\u3065\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h4>\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30d1\u30b9\u6700\u9069\u5316<\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"611\" height=\"300\" class=\"wp-image-504\" src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2019\/04\/progressive-rendering.png\" alt=\"progressive rendering\" srcset=\"https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/04\/progressive-rendering.png 611w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/04\/progressive-rendering-300x147.png 300w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/figure>\r\n\r\n\r\n\r\n<blockquote class=\"wp-block-quote\">\r\n<p>\u753b\u50cf\u53c2\u7167\u5143: <a href=\"https:\/\/developers.google.com\/web\/fundamentals\/performance\/critical-rendering-path\/?hl=ja\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u30af\u30ea\u30c6\u30a3\u30ab\u30eb \u30ec\u30f3\u30c0\u30ea\u30f3\u30b0 \u30d1\u30b9 \u00a0|\u00a0 Web \u00a0|\u00a0 Google Developers<\/a><\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n<p>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u6700\u3082\u308f\u304b\u308a\u3084\u3059\u304f\u73fe\u308c\u308b\u306e\u306f\u3001 <strong>\u300c\u30da\u30fc\u30b8\u306b\u5230\u9054\u3057\u305f\u77ac\u9593\u300d<\/strong> \u306e\u4f53\u9a13\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u691c\u7d22\u7d50\u679c\u3084\u7d39\u4ecb\u30d6\u30ed\u30b0\u8a18\u4e8b\u306a\u3069\u3001\u3069\u3053\u304b\u306e\u30da\u30fc\u30b8\u306e\u30ea\u30f3\u30af\u304b\u3089\u3001\u30d6\u30c3\u30af\u30de\u30fc\u30af\u304b\u3089\u3001\u307e\u305f\u306f SNS \u304b\u3089\u3001\u30e6\u30fc\u30b6\u306f Web \u30b5\u30fc\u30d3\u30b9\u306b\u305f\u3069\u308a\u7740\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u30e6\u30fc\u30b6\u304c\u5230\u9054\u3057\u3066\u304b\u3089\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u3001\u5177\u4f53\u7684\u306b\u8a00\u3048\u3070\u300c\u4eca\u898b\u3066\u3044\u308b\u753b\u9762\u306b\u53ce\u307e\u308b\u90e8\u5206\u304c\u63cf\u753b\u3055\u308c\u308b\u307e\u3067\u300d\u306e\u6642\u9593\u304c\u30ad\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u305d\u306e\u300c\u4eca\u898b\u3066\u3044\u308b\u753b\u9762\u300d\u306e\u3053\u3068\u3092 <strong>\u30af\u30ea\u30c6\u30a3\u30ab\u30eb(\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0)\u30d1\u30b9(CSS)<\/strong>, <strong>Abobe the fold<\/strong> \u306a\u3069\u3068\u8a00\u308f\u308c\u307e\u3059\u304c\u3001\u305d\u3053\u3092\u6700\u9069\u5316\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u304c\u5185\u8535\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30e2\u30fc\u30c9\u3092\u7528\u3044\u3066\u3001\u4e8b\u524d\u306b\u30b5\u30fc\u30d0\u5074\u3067\u52d5\u7684\u306a\u30d1\u30fc\u30c4\u306e HTML \u3092\u751f\u6210\u3059\u308b<\/li>\r\n<li>\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30d1\u30b9\u3092\u63a8\u6e2c\u3057\u3001\u305d\u306e\u90e8\u5206\u3067\u5229\u7528\u3055\u308c\u3066\u3044\u308b CSS \u3092 HTML \u4e0a\u306b\u5c55\u958b(\u30a4\u30f3\u30e9\u30a4\u30f3\u5316)\u3059\u308b<\/li>\r\n<li><code>&lt;script&gt;<\/code> \u30bf\u30b0\u306b\u3088\u308b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30d6\u30ed\u30c3\u30af\u3092\u907f\u3051\u308b<\/li>\r\n<li>\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30d1\u30b9\u3067\u306a\u3044\u4e0b\u306e\u90e8\u5206\u306e\u753b\u50cf\u306a\u3069\u3092\u5f8c\u304b\u3089\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3059\u308b<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u306a\u3069\u3001\u69d8\u3005\u306a\u65bd\u7b56\u3092\u7528\u3044\u3066\u6700\u9069\u5316\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u307b\u3068\u3093\u3069\u306f <strong>\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u9811\u5f35\u3063\u3066\u6700\u9069\u5316\u305b\u305a\u3068\u3082\u3001\u81ea\u52d5\u3067\u63d0\u4f9b\u3055\u308c\u307e\u3059<\/strong>\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3069\u308c\u304f\u3089\u3044\u306e\u6700\u9069\u5316\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u306e\u304b\u306f\u3001 <a href=\"https:\/\/nuxtjs.org\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">nuxt.js \u81ea\u8eab\u306e\u9759\u7684\u751f\u6210\u3055\u308c\u305f\u30da\u30fc\u30b8<\/a> \u3092\u898b\u308c\u3070\u4e00\u76ee\u77ad\u7136\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u4e8b\u524d\u306e\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u753b\u9762\u3084\u69cb\u6210\u304c\u4e2d\u9014\u534a\u7aef\u306a\u72b6\u614b\u306f\u306a\u304f\u3001\u4e00\u77ac\u3067\u753b\u9762\u304c\u5207\u308a\u66ff\u308f\u308b\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\r\n\r\n\r\n\r\n<h4>\u6b21\u306e\u30da\u30fc\u30b8\u306e\u30d7\u30ea\u30ed\u30fc\u30c9<\/h4>\r\n\r\n\r\n\r\n<p>\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30d1\u30b9\u306e\u6b21\u306f\u3001 <strong>\u300c\u30da\u30fc\u30b8\u3092\u9077\u79fb\u3057\u305f\u6642\u300d<\/strong> \u306e\u4f53\u9a13\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3064\u307e\u308a\u3001\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30b5\u30d6\u30da\u30fc\u30b8\u306b\u79fb\u884c\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li><a href=\"https:\/\/developers.google.com\/web\/fundamentals\/performance\/http2\/?hl=ja#_7\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">HTTP\/2 \u30d7\u30c3\u30b7\u30e5\u6a5f\u80fd<\/a> \u3092\u7528\u3044\u3066\u3001\u30da\u30fc\u30b8\u3092\u79fb\u52d5\u3059\u308b\u524d\u304b\u3089\u6b21\u306e\u30da\u30fc\u30b8(=\u3053\u306e\u30da\u30fc\u30b8\u306b\u30ea\u30f3\u30af\u304c\u3064\u3044\u3066\u3044\u308b\u30da\u30fc\u30b8)\u306b\u5fc5\u8981\u306a\u30a2\u30bb\u30c3\u30c8(js, css)\u3092\u4e8b\u524d\u306b\u53d6\u5f97\u3059\u308b<\/li>\r\n<li>\u30da\u30fc\u30b8\u79fb\u52d5\u306f HTML \u3092\u53d6\u5f97\u3059\u308b\u5f62\u5f0f\u3067\u306f\u306a\u304f\u3001 <a href=\"https:\/\/router.vuejs.org\/ja\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">vue-router<\/a> \u3092\u5229\u7528\u3057\u3066\u5dee\u5206\u3068\u306a\u308b\u30a2\u30bb\u30c3\u30c8\u3060\u3051\u3092\u53d6\u5f97\u3057\u3066\u79fb\u52d5\u3059\u308b<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u3089\u6a5f\u80fd\u3082\u81ea\u52d5\u3067\u63d0\u4f9b\u3055\u308c\u3001 <strong>\u305f\u3060 Vue \u3092\u66f8\u304f\u3060\u3051\u3067\u3059\u3067\u306b UX \u30d5\u30ec\u30f3\u30c9\u30ea\u30fc<\/strong> \u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u3002\u3053\u3053\u304c nuxt.js \u306e\u975e\u5e38\u306b\u5f37\u3044\u30e1\u30ea\u30c3\u30c8\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h4>\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306b\u3088\u308b\u7aef\u672b\u8ca0\u8377\u8efd\u6e1b<\/h4>\r\n\r\n\r\n\r\n<p>\u901a\u5e38\u306e Vue.js \u3060\u3051\u3067\u306f\u3001\u6700\u521d\u306f\u7a7a\u306e HTML \u304c\u63d0\u4f9b\u3055\u308c\u3001 JavaScript \u306b\u3088\u3063\u3066\u69cb\u7bc9\u3055\u308c\u3066\u6700\u7d42\u7684\u306b\u898b\u305f\u76ee\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3064\u307e\u308a HTML \u306e\u7d44\u307f\u7acb\u3066\u3092\u7aef\u672b\u3067\u884c\u3046\u305f\u3081\u3001\u30b9\u30da\u30c3\u30af\u306e\u4f4e\u3044\u7aef\u672b\u3067\u306f\u8868\u793a\u307e\u3067\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u306f\u69d8\u3005\u306a\u624b\u6cd5\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u51fa\u6765\u307e\u3059\u304c\u3001 node.js HTTP \u30b5\u30fc\u30d0\u3092\u7528\u3044\u305f\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30e2\u30fc\u30c9\u3092\u4f7f\u3048\u3070\u3001\u30b9\u30da\u30c3\u30af\u306e\u4f4e\u3044\u7aef\u672b\u3067\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u305f\u5834\u5408\u3067\u3082\u3001 HTML \u306f\u7d44\u307f\u3042\u304c\u3063\u305f\u3082\u306e\u304c\u3059\u3067\u306b\u63d0\u4f9b\u3055\u308c\u308b\u306e\u3067\u8efd\u3044\u8ca0\u8377\u3067\u8868\u793a\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>SNS \u5171\u6709\u6642\u306e\u30e1\u30bf\u60c5\u5831<\/h3>\r\n\r\n\r\n\r\n<p>\u5404\u7a2e\u30da\u30fc\u30b8\u306e URL \u3092\u5171\u6709\u3059\u308b\u6642\u3001 SNS \u4e0a\u3067\u306f URL \u3060\u3051\u3067\u306a\u304f\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\u30fb\u753b\u50cf\u30fb\u8aac\u660e\u6587\u306a\u3069\u3092\u8f09\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"586\" height=\"208\" class=\"wp-image-505\" src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2019\/04\/image-3.png\" alt=\"og meta\" srcset=\"https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/04\/image-3.png 586w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/04\/image-3-300x106.png 300w\" sizes=\"(max-width: 586px) 100vw, 586px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u306f <a href=\"http:\/\/www.asahi-net.or.jp\/~ax2s-kmtn\/internet\/sns\/ogp-20170727.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u30aa\u30fc\u30d7\u30f3\u30fb\u30b0\u30e9\u30d5\u30fb\u30d7\u30ed\u30c8\u30b3\u30eb<\/a> \u306a\u3069\u3092\u7528\u3044\u3066\u3001 <code>&lt;meta&gt;<\/code> \u30bf\u30b0\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/vue-meta.nuxtjs.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">vue-meta<\/a> \u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u624b\u8efd\u306b <code>&lt;meta&gt;<\/code> \u30bf\u30b0\u3092\u8abf\u6574\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u30e2\u30c0\u30f3\u30d3\u30eb\u30c9\u306b\u3088\u308b\u6700\u65b0\u30d6\u30e9\u30a6\u30b6\u3078\u306e\u6700\u9069\u5316<\/h3>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/cli.vuejs.org\/guide\/browser-compatibility.html#modern-mode\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">vue-cli-service<\/a> \u306b\u5c0e\u5165\u3055\u308c\u3066\u3044\u308b\u300c\u30e2\u30c0\u30f3\u300d\u30d3\u30eb\u30c9\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u6700\u65b0\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u3088\u308a\u6700\u9069\u306a JavaScript \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u884c\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u306b\u3064\u3044\u3066\u306f <a href=\"https:\/\/qiita.com\/il-m-yamagishi\/items\/119cd99197cd3e9b79c2\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u5225\u9014 Qiita \u306b\u8a18\u4e8b\u306b\u3057\u3066\u3044\u307e\u3059<\/a>\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u30b5\u30fc\u30d3\u30b9\u30ef\u30fc\u30ab\u30fc\u306b\u3088\u308b\u30aa\u30d5\u30e9\u30a4\u30f3\u30c7\u30fc\u30bf\u30ad\u30e3\u30c3\u30b7\u30e5<\/h3>\r\n\r\n\r\n\r\n<p>Web \u30b5\u30fc\u30d3\u30b9\u3067\u306f\u3001\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3073\u306b\u30b5\u30fc\u30d0\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u65b0\u3057\u3044\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3057\u304b\u3057\u3001\u305d\u306e\u8aad\u307f\u8fbc\u307f\u3054\u3068\u306b\u5185\u5bb9\u304c\u5909\u308f\u308b\u3082\u306e\u3082\u3042\u308c\u3070\u3001\u5909\u308f\u3089\u306a\u3044\u753b\u50cf\u306a\u3069\u306e\u30a2\u30bb\u30c3\u30c8\u3082\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u305d\u308c\u3089\u306e\u5909\u308f\u3089\u306a\u3044\u30a2\u30bb\u30c3\u30c8\u3092\u6bce\u56de\u30b5\u30fc\u30d0\u304b\u3089\u53d6\u5f97\u3057\u3066\u304f\u308b\u306e\u306f\u7121\u99c4\u304c\u751f\u3058\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>Web \u30b5\u30fc\u30d3\u30b9\u306f\u69d8\u3005\u306a\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u305d\u308c\u3089\u306e\u5185\u5bb9\u304c\u540c\u3058\u30a2\u30bb\u30c3\u30c8\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u3001\u6bce\u56de\u901a\u4fe1\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u9ad8\u901f\u5316\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u3067\u306f\u3001\u8ffd\u52a0\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066 <a href=\"https:\/\/pwa.nuxtjs.org\/modules\/workbox.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">pwa workbox<\/a> \u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u3001\u3053\u308c\u3092\u5229\u7528\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u5185\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30d5\u30eb\u6d3b\u7528\u3057\u3001 <strong>\u30aa\u30d5\u30e9\u30a4\u30f3\u72b6\u614b\u3067\u3042\u3063\u3066\u3082<\/strong> \u30da\u30fc\u30b8\u3092\u51fa\u6765\u308b\u3060\u3051\u95b2\u89a7\u51fa\u6765\u308b\u3088\u3046\u306a\u69cb\u6210\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u306f Google \u306e <a href=\"https:\/\/developers.google.com\/web\/tools\/workbox\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">Workbox<\/a> \u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7528\u3044\u3066\u30a2\u30bb\u30c3\u30c8\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3001\u4e00\u5ea6\u53d6\u5f97\u3057\u305f\u30a2\u30bb\u30c3\u30c8\u306f\u518d\u5ea6\u901a\u4fe1\u3057\u306a\u304f\u3066\u3082\u5229\u7528\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u901a\u4fe1\u3092\u3057\u306a\u3044\u3053\u3068\u3067\u3001\u3088\u308a\u9ad8\u901f\u306a\u63cf\u753b\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h2>\u30c7\u30d9\u30ed\u30c3\u30d1\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u30fb\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc<\/h2>\r\n\r\n\r\n\r\n<p>nuxt.js \u3067\u306f\u3001\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u306b\u5bfe\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u6700\u9069\u5316\u3060\u3051\u3067\u306a\u304f\u3001 nuxt.js \u3092\u5229\u7528\u3059\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u5bfe\u3057\u3066\u3082\u4f7f\u3044\u3084\u3059\u3044\u3088\u3046\u306a <strong>Developer Experience<\/strong> \u306e\u6700\u9069\u5316\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u5229\u7528\u3059\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u6271\u3044\u3084\u3059\u3055\u306f\u3001\u958b\u767a\u52b9\u7387\u306b\u76f4\u7d50\u3059\u308b\u3082\u306e\u306a\u306e\u3067\u91cd\u8981\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u5727\u5012\u7684\u306b\u624b\u8efd\u306a\u5c0e\u5165<\/h3>\r\n\r\n\r\n\r\n<p>Vue.js \u306f <a href=\"https:\/\/cli.vuejs.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">Vue CLI<\/a> \u3092\u5229\u7528\u3057\u3066\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u59cb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u3067\u3082\u540c\u69d8\u306b <code>$ yarn create nuxt-app &lt;my-project&gt;<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u53e9\u304f\u3060\u3051\u3067\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u9078\u629e\u3057\u3001 <code>$ yarn dev<\/code> \u3067\u958b\u767a\u7528\u306e\u30b5\u30fc\u30d0\u304c\u30ed\u30fc\u30ab\u30eb\u306b\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002\u9762\u5012\u306a\u521d\u671f\u8a2d\u5b9a\u306f\u4e00\u5207\u4e0d\u8981\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u307e\u305f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306a\u3057\u306e\u6700\u5c0f\u69cb\u6210\u306f\u306a\u3093\u3068 <code>package.json<\/code> \u3068 <code>pages\/index.vue<\/code> \u306e <strong>\u305f\u3063\u305f\u306e 2 \u30d5\u30a1\u30a4\u30eb<\/strong> \u3067 Hello World \u304c\u51fa\u6765\u308b Well-configured \u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u7169\u96d1\u306a\u30d3\u30eb\u30c9\u30fb\u30d0\u30f3\u30c9\u30eb\u51e6\u7406\u3092\u30bc\u30ed\u30b3\u30f3\u30d5\u30a3\u30b0\u3067<\/h3>\r\n\r\n\r\n\r\n<p>\u73fe\u4ee3\u306e JavaScript \u754c\u9688\u3067\u306f\u3001\u300c\u6700\u65b0\u6a5f\u80fd\u3092\u4f7f\u3044\u305f\u3044\u304c\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u306b\u3082\u5bfe\u5fdc\u3057\u305f\u3044\u300d\u300cTypeScript \u3067\u66f8\u304d\u305f\u3044\u300d\u306a\u3069\u306e\u9700\u8981\u304c\u9ad8\u304f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u306b\u3082\u95a2\u308f\u3089\u305a\u30d3\u30eb\u30c9\u51e6\u7406\u3092\u5fc5\u8981\u3068\u3059\u308b\u5834\u5408\u304c\u591a\u3044\u3067\u3059\u3002\u672c\u756a\u5411\u3051\u306b\u30d5\u30a1\u30a4\u30eb\u3092 minify \u3059\u308b\u3053\u3068\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u307e\u305f\u3001\u30a2\u30bb\u30c3\u30c8\u9593\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u3001\u5404\u30da\u30fc\u30b8\u3067\u5fc5\u8981\u306a\u30a2\u30bb\u30c3\u30c8\u306e\u307f\u3092\u30d0\u30f3\u30c9\u30eb\u3057\u3066 1 \u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3059\u308b\u306a\u3069\u306e\u51e6\u7406\u3082\u983b\u7e41\u306b\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u3089\u306e\u51e6\u7406\u306f <code>babel<\/code>, <code>webpack<\/code> \u3084 <code>rollup<\/code> \u306a\u3069\u3068\u3044\u3063\u305f\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u884c\u308f\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u3089\u30c4\u30fc\u30eb\u3092\u307e\u3068\u3081\u3066\u8a2d\u5b9a\u3059\u308b\u306e\u304c\u5927\u5909\u306a\u4f5c\u696d\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u3067\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30d3\u30eb\u30c9\u30fb\u30d0\u30f3\u30c9\u30eb\u51e6\u7406\u3092\u81ea\u52d5\u7684\u306b\u884c\u3063\u3066\u304f\u308c\u308b\u305f\u3081\u3001 <strong>\u8a2d\u5b9a\u3092\u4e00\u5207\u5909\u3048\u305a\u306b<\/strong> \u9054\u6210\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u8c4a\u5bcc\u3067\u8a2d\u5b9a\u53ef\u80fd\u306a\u30d3\u30eb\u30c9\u6a5f\u80fd<\/h3>\r\n\r\n\r\n\r\n<p>\u30d3\u30eb\u30c9\u304c\u8a2d\u5b9a\u4e0d\u8981\u3067\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u521d\u671f\u8a2d\u5b9a\u304c\u3059\u3067\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u3044\u3066\u3001\u3042\u308b\u7a0b\u5ea6\u306e\u8981\u4ef6\u3092\u6700\u521d\u304b\u3089\u6e80\u305f\u305b\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u73fe\u72b6\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4ee5\u4e0b\u306e\u30d3\u30eb\u30c9\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li><code>babel<\/code> -&gt; <a href=\"https:\/\/github.com\/nuxt\/nuxt.js\/tree\/dev\/packages\/babel-preset-app\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">@nuxt\/babel-preset-app<\/a> \u3067\u81ea\u52d5\u7684\u306b\u3044\u3044\u611f\u3058\u306e babel \u30d3\u30eb\u30c9\u3092\u884c\u3046<\/li>\r\n<li><code>file<\/code> -&gt; \u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092 JavaScript \u5185\u3067 <code>import<\/code> \u8aad\u307f\u8fbc\u307f\u53ef\u80fd\u306b\u3059\u308b<\/li>\r\n<li><code>font, img<\/code> -&gt; \u5c0f\u3055\u3044\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u3092 base64 \u3067\u30a4\u30f3\u30e9\u30a4\u30f3\u5c55\u958b\u3059\u308b<\/li>\r\n<li><code>less, sass, scss, stylus, postcss<\/code> \u306a\u3069\u306e CSS \u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5 -&gt; \u81ea\u52d5\u3067\u30d3\u30eb\u30c9<\/li>\r\n<li><code>TypeScript<\/code> -&gt; <a href=\"https:\/\/github.com\/nuxt\/nuxt.js\/tree\/dev\/packages\/typescript\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">@nuxt\/typescript<\/a> \u3067\u81ea\u52d5\u30d3\u30eb\u30c9\u53ef\u80fd<\/li>\r\n<li><code>vue<\/code> -&gt; \u3082\u3061\u308d\u3093 vue \u306e\u30d3\u30eb\u30c9\u3082<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u5148\u307b\u3069\u300c\u30d3\u30eb\u30c9\u306f\u8a2d\u5b9a\u4e0d\u8981\u3067\u53ef\u80fd\u300d\u3068\u8a00\u3044\u307e\u3057\u305f\u304c\u3001\u4f5c\u308b\u30d7\u30ed\u30c0\u30af\u30c8\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u3066\u30d3\u30eb\u30c9\u3092\u8abf\u6574\u3057\u305f\u3044\u5834\u5408\u304c\u5fc5\u305a\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u305d\u306e\u5834\u5408\u3082\u3001 <code>nuxt.config.js<\/code> \u30d5\u30a1\u30a4\u30eb\u3067\u304b\u306a\u308a\u81ea\u7531\u306b\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u307e\u305f\u3001 <code>module<\/code> \u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u5916\u90e8\u304b\u3089\u30d3\u30eb\u30c9\u8a2d\u5b9a\u3092\u5909\u66f4\u51fa\u6765\u308b\u3088\u3046\u306b\u62e1\u5f35\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>3 \u30d1\u30bf\u30fc\u30f3\u306e\u30b5\u30fc\u30d6\u65b9\u6cd5<\/h3>\r\n\r\n\r\n\r\n<p>nuxt.js \u306f\u3001\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30c0\u30af\u30c8\u3092\u30e6\u30fc\u30b6\u306b\u63d0\u4f9b\u3059\u308b\u306e\u306b 3 \u3064\u306e\u65b9\u6cd5\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u306b\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>3 \u3064\u7528\u610f\u3059\u308b\u3053\u3068\u3067\u3001\u9593\u53e3\u3092\u5e83\u304f\u3001\u69d8\u3005\u306a\u8981\u4ef6\u3092\u6e80\u305f\u305b\u308b\u3088\u3046\u306b\u4f5c\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h4>1. \u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0<\/h4>\r\n\r\n\r\n\r\n<p>node.js HTTP \u30b5\u30fc\u30d0\u3092\u5229\u7528\u3057\u305f\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0 (Universal) \u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u306f\u3001\u30e6\u30fc\u30b6\u304b\u3089\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6765\u305f\u6642\u306b\u4e8b\u524d\u306b\u30b5\u30fc\u30d0\u5074\u3067 <a href=\"https:\/\/ssr.vuejs.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">vue-server-renderer<\/a> \u3092\u7528\u3044\u3066 Vue \u3092\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3057\u3001\u305d\u306e\u7d50\u679c\u751f\u6210\u3055\u308c\u305f HTML \u3092\u8fd4\u3059\u624b\u6cd5\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>\u30e1\u30ea\u30c3\u30c8\r\n<ul>\r\n<li>\u30b9\u30da\u30c3\u30af\u306e\u4f4e\u3044\u7aef\u672b\u3067\u3082\u9ad8\u901f\u306b\u63cf\u753b\u51fa\u6765\u308b<\/li>\r\n<li><strong>\u52d5\u7684\u306a\u30d1\u30b9\u3092\u6301\u3064\u30da\u30fc\u30b8(<code>\/users\/5<\/code> \u306a\u3069)\u306e\u30e1\u30bf\u60c5\u5831\u3092\u9069\u5207\u306b\u53d6\u5f97\u51fa\u6765\u308b<\/strong><\/li>\r\n<\/ul>\r\n<\/li>\r\n<li>\u30c7\u30e1\u30ea\u30c3\u30c8\r\n<ul>\r\n<li>node.js \u30b5\u30fc\u30d0\u306e\u4fdd\u5b88\u30fb\u904b\u7528\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308b<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u30b6\u30fb\u30b7\u30fc\u30c9\u30aa\u30f3\u30e9\u30a4\u30f3\u306f\u3001\u30a2\u30a4\u30c6\u30e0\u3092 SNS \u306b\u5171\u6709\u3057\u305f\u308a\u3059\u308b\u95a2\u4fc2\u4e0a\u3001\u4e8c\u3064\u76ee\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u5fc5\u9808\u306b\u306a\u3063\u305f\u305f\u3081\u3053\u306e\u624b\u6cd5\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u7d9a\u304f 2 \u3064\u306e\u624b\u6cd5\u3067\u306f\u3001 <code>\/users\/5<\/code> \u30da\u30fc\u30b8\u3092 SNS \u306b\u5171\u6709\u3057\u3066\u3082\u3001 404 \u306b\u306a\u308b\u304b\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3068\u540c\u3058\u60c5\u5831\u3057\u304b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\u3002<\/p>\r\n\r\n\r\n\r\n<h4>2. \u9759\u7684\u751f\u6210<\/h4>\r\n\r\n\r\n\r\n<p>\u4e8b\u524d\u306b\u63cf\u753b\u306b\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u3059\u3079\u3066\u751f\u6210\u3057\u3001\u305d\u308c\u3092 CDN \u7b49\u306b\u8f09\u305b\u308b\u3060\u3051\u306e\u8d85\u7c21\u5358\u306a\u624b\u6cd5\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><code>$ nuxt generate<\/code> \u30b3\u30de\u30f3\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u7fa4\u304c\u751f\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u305d\u308c\u3092 Amazon S3 \u3084 GitHub Pages, Netlify \u306a\u3069\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u7d42\u308f\u308a\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>\u30e1\u30ea\u30c3\u30c8\r\n<ul>\r\n<li><strong>\u904b\u7528\u30b3\u30b9\u30c8\u304c\u307b\u307c\u30bc\u30ed<\/strong> (\u9759\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u3092 publish \u3059\u308b\u3060\u3051\u306a\u306e\u3067)<\/li>\r\n<li>CDN \u306b\u7f6e\u3051\u3070\u5168\u4e16\u754c\u3067\u9ad8\u901f\u306b\u30b5\u30fc\u30d6\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd<\/li>\r\n<li>\u30d3\u30eb\u30c9\u3082\u4e8b\u524d\u306b\u7d42\u3048\u3066\u3044\u308b\u306e\u3067\u30e1\u30bf\u60c5\u5831\u3082\u8f09\u308b\u3057\u63cf\u753b\u3082\u65e9\u3044<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li>\u30c7\u30e1\u30ea\u30c3\u30c8\r\n<ul>\r\n<li>\u52d5\u7684\u306a\u30d1\u30b9\u3092\u6301\u3064\u30da\u30fc\u30b8\u306e\u30e1\u30bf\u60c5\u5831\u304c\u9069\u5207\u306b\u53d6\u5f97\u51fa\u6765\u306a\u3044<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30b5\u30a4\u30c8\u3084\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30b5\u30a4\u30c8\u306a\u3069\u3001\u52d5\u7684\u306b\u30da\u30fc\u30b8\u3092\u5897\u6e1b\u3059\u308b\u3053\u3068\u306e\u306a\u3044 Web \u30b5\u30fc\u30d3\u30b9\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h4>3. Single Page Application \u3068\u3057\u3066\u751f\u6210<\/h4>\r\n\r\n\r\n\r\n<p>\u4e8b\u524d\u306b <strong>\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong> \u3068\u3057\u3066\u30d3\u30eb\u30c9\u3059\u308b\u3053\u3068\u3067\u3001\u30b5\u30fc\u30d0\u306b\u4f9d\u5b58\u3057\u306a\u3044\u30b5\u30fc\u30d3\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><code>$ nuxt build --spa<\/code> \u30b3\u30de\u30f3\u30c9\u3067\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u9759\u7684\u751f\u6210\u3068\u7570\u306a\u308b\u70b9\u306f\u3001 <strong>\u300c\u4e8b\u524d\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u884c\u308f\u306a\u3044\u300d<\/strong> \u6240\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u9759\u7684\u751f\u6210\u3067\u306f\u5168\u3066\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092 <strong>\u4e8b\u524d\u306b<\/strong> \u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u3078\u4f9d\u5b58\u3057\u305f\u308a\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u3067\u3057\u304b\u63cf\u753b\u51fa\u6765\u306a\u3044\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u3042\u308b\u5834\u5408\u306b\u305d\u308c\u3092\u63cf\u753b\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\u3002<\/p>\r\n\r\n\r\n\r\n<p>SPA \u30e2\u30fc\u30c9\u3067\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u9759\u7684\u751f\u6210\u3068\u540c\u69d8\u306e\u30e1\u30bf\u60c5\u5831\u3084\u30a2\u30bb\u30c3\u30c8\u306e URL \u306a\u3069\u306f\u57cb\u3081\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u304c\u3001 <strong>Vue \u3067\u4f5c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u90e8\u5206\u306f\u63cf\u753b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/strong><\/p>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u3067\u4f8b\u3048\u3070\u300c\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u304c\u51fa\u6765\u306a\u3044\u304c\u3001\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u53d6\u5f97\u3057\u305f\u30e6\u30fc\u30b6\u60c5\u5831\u3092\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u53cd\u6620\u3055\u305b\u305f\u3044\u300d\u3068\u3044\u3063\u305f\u9700\u8981\u3092\u6e80\u305f\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>\u30e1\u30ea\u30c3\u30c8\r\n<ul>\r\n<li>\u8a8d\u8a3c\u304c\u5fc5\u8981\u306a\u30da\u30fc\u30b8\u306a\u3069\u3067\u3082\u9759\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u751f\u6210\u3067\u30ab\u30d0\u30fc\u51fa\u6765\u308b<\/li>\r\n<li>\u904b\u7528\u30b3\u30b9\u30c8\u304c\u307b\u307c\u30bc\u30ed<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li>\u30c7\u30e1\u30ea\u30c3\u30c8\r\n<ul>\r\n<li>\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u884c\u3046\u305f\u3081\u3001\u5c11\u3057\u4f4e\u901f<\/li>\r\n<li>\u52d5\u7684\u306a\u30d1\u30b9\u3092\u6301\u3064\u30da\u30fc\u30b8\u306e\u30e1\u30bf\u60c5\u5831\u304c\u9069\u5207\u306b\u53d6\u5f97\u51fa\u6765\u306a\u3044<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u901f\u5ea6\u3092\u4e0b\u3052\u3066\u3067\u3082 node.js \u30b5\u30fc\u30d0\u3092\u904b\u7528\u3057\u305f\u304f\u306a\u3044\u5834\u5408\u3001\u3053\u306e\u751f\u6210\u624b\u6cd5\u304c\u5f79\u306b\u7acb\u3064\u3067\u3057\u3087\u3046\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u30d5\u30a1\u30a4\u30eb\u30d9\u30fc\u30b9\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0<\/h3>\r\n\r\n\r\n\r\n<p>\u3069\u306e\u30d1\u30b9\u304c\u3069\u306e Vue \u3092\u8868\u793a\u3059\u308b\u306e\u304b\u306f\u91cd\u8981\u306a\u8a71\u984c\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u3067\u306f <code>routes.php<\/code> \u306a\u3069\u306b\u624b\u52d5\u3067\u30d1\u30b9\u3068\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u7d10\u3065\u3051\u3092\u884c\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001 nuxt.js \u306f\u30b7\u30f3\u30d7\u30eb\u306b <strong>\/pages\/app\/user.vue \u30d5\u30a1\u30a4\u30eb\u306f \/app\/user<\/strong> \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u30d9\u30fc\u30b9\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u304b\u3089\u59cb\u307e\u308b\u540d\u524d\u3067\u4efb\u610f\u306e\u30d1\u30b9\u5909\u6570\u3092\u53d7\u3051\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u3067\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u898b\u308b\u3060\u3051\u3067\u300c\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3053\u306e\u30d1\u30b9\u306e\u6642\u306b\u63cf\u753b\u3055\u308c\u308b\u306a\u300d\u3068\u4e00\u76ee\u3067\u308f\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>asyncData \u306b\u3088\u308b\u63cf\u753b\u524d\u306e\u30c7\u30fc\u30bf\u53d6\u5f97<\/h3>\r\n\r\n\r\n\r\n<p>\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u884c\u3046\u305f\u3081\u306b\u306f\u3001 Vue \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u63cf\u753b\u3059\u308b <strong>\u524d\u306b<\/strong> \u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u3067\u306f\u3001 <code>asyncData<\/code> \u3068\u3044\u3046 Vue \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3067\u3001 <code>data<\/code> \u306b\u975e\u540c\u671f\u3067\u60c5\u5831\u3092\u6ce8\u5165\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;template&gt;\r\n  &lt;div&gt;&lt;h1&gt;{{ title }}&lt;\/h1&gt;&lt;\/div&gt;\r\n&lt;\/template&gt;\r\n\r\n&lt;script&gt;\r\nimport axios from 'axios'\r\n\r\nexport default {\r\n  async asyncData({ params }) {\r\n    const response = await axios.get(`https:\/\/my-api\/posts\/${params.id}`)\r\n    return {\r\n      title: response.data.title,\r\n    }\r\n  }\r\n}\r\n&lt;\/script&gt;<\/pre>\r\n\r\n\r\n\r\n<p>\u623b\u308a\u5024\u306f\u901a\u5e38\u306e <code>data<\/code> \u30e1\u30bd\u30c3\u30c9\u3068\u540c\u69d8\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u6ce8\u5165\u3055\u308c\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3084\u4ed6\u30e1\u30bd\u30c3\u30c9\u3067\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u307e\u305f\u3001\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u6642\u3060\u3051\u3067\u306a\u304f\u3001\u30da\u30fc\u30b8\u3092\u79fb\u52d5\u3057\u305f\u969b\u306b\u3082\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3070\u308c\u308b\u305f\u3081\u3001\u3069\u3053\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u304b\u306b\u4f9d\u5b58\u3057\u306a\u3044\u5b9f\u88c5\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/axios.nuxtjs.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">axios module<\/a> \u306f\u3001 node.js \u4e0a\u3067\u3082\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u3082\u540c\u3058\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067 HTTP \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u308c\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u516c\u5f0f\u3067\u306f\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066 HTTP \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u30b6\u30fb\u30b7\u30fc\u30c9\u30aa\u30f3\u30e9\u30a4\u30f3\u3067\u306f\u3001\u5148\u8ff0\u3057\u305f workbox module \u3092\u6700\u5927\u9650\u6d3b\u7528\u3059\u308b\u305f\u3081\u3001 axios \u3067\u306f\u306a\u304f\u30d6\u30e9\u30a6\u30b6\u6a19\u6e96\u306e <a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/API\/Fetch_API\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">fetch API<\/a> \u3092\u5229\u7528\u3057\u305f\u5b9f\u88c5\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u3088\u308b\u30e9\u30f3\u30bf\u30a4\u30e0\u306e\u62e1\u5f35<\/h3>\r\n\r\n\r\n\r\n<p>Vue.js \u306f\u72ec\u81ea\u306e <a href=\"https:\/\/jp.vuejs.org\/v2\/guide\/plugins.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u30d7\u30e9\u30b0\u30a4\u30f3\u6a5f\u80fd<\/a> \u3067\u3001 Vue \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u3067\u3082\u305d\u308c\u3089\u306e\u65e2\u5b58\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u51fa\u6765\u308b\u3088\u3046\u306b\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3053\u308c\u3089\u306f\u30b5\u30fc\u30d0\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5171\u306b Vue \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u521d\u671f\u5316\u3059\u308b\u524d\u306b\u5b9f\u884c\u3055\u308c\u3001 Vue \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4e2d\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u307e\u305f\u3001 <a href=\"https:\/\/nuxtjs.org\/guide\/plugins#combined-inject\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">inject<\/a> \u6a5f\u80fd\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001 <code>asyncData<\/code> \u3084 <code>Vuex Store<\/code> \u5185\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u5229\u7528\u51fa\u6765\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3088\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u62e1\u5f35<\/h3>\r\n\r\n\r\n\r\n<p>nuxt.js \u5358\u4f53\u3067\u3082\u8c4a\u5bcc\u306a\u6a5f\u80fd\u3092\u6301\u3061\u5408\u308f\u305b\u3066\u3044\u307e\u3059\u304c\u3001\u3082\u3061\u308d\u3093\u3059\u3079\u3066\u306e\u8981\u4ef6\u3092\u6e80\u305f\u305b\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u305d\u3053\u3067\u3001\u30b3\u30a2\u6a5f\u80fd\u306e\u62e1\u5f35\u3092\u884c\u3046\u305f\u3081\u306e <a href=\"https:\/\/nuxtjs.org\/guide\/modules\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u30e2\u30b8\u30e5\u30fc\u30eb\u6a5f\u80fd<\/a> \u304c\u5185\u8535\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u5358\u4f53\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u63d0\u4f9b\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/github.com\/nuxt-community\/awesome-nuxt#modules\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">awesome-nuxt<\/a> \u3092\u898b\u3066\u308f\u304b\u308b\u901a\u308a\u3001 36 \u306e\u516c\u5f0f\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3001 50 \u4ee5\u4e0a\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u5229\u7528\u8005\u306f\u3001\u3053\u308c\u3089\u305f\u304f\u3055\u3093\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4e2d\u304b\u3089\u5229\u7528\u3057\u305f\u3044\u3082\u306e\u3092\u9078\u3073\u3001 <code>$ yarn add module-name<\/code> \u3057\u3066 <code>nuxt.config.js<\/code> \u306e\u4e2d\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a18\u8ff0\u3059\u308b\u3060\u3051\u3067\u3001 <strong>\u624b\u8efd\u306b\u62e1\u5f35\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059<\/strong> \u3002<\/p>\r\n\r\n\r\n\r\n<h3>TypeScript \u30b5\u30dd\u30fc\u30c8<\/h3>\r\n\r\n\r\n\r\n<p>nuxt.js \u306f\u3053\u308c\u307e\u3067\u3001\u300c\u516c\u5f0f\u3068\u3057\u3066 TypeScript \u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u4e88\u5b9a\u306f\u306a\u3044\u300d\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001 <a href=\"https:\/\/github.com\/kevinmarrec\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">kevinmarrec<\/a> \u3055\u3093\u304c\u30b3\u30a2\u30e1\u30f3\u30d0\u30fc\u306b\u53c2\u52a0\u3057\u305f\u3053\u3068\u3067\u3001\u4e00\u6c17\u306b\u305d\u306e\u30b5\u30dd\u30fc\u30c8\u306e\u5e45\u3092\u5e83\u3052\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\r\n\r\n\r\n\r\n<p>v2.4 \u304b\u3089 <code>nuxt-ts<\/code> \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5229\u7528\u3057\u3066\u3001\u3059\u3079\u3066\u306e\u5834\u6240\u3067 TypeScript \u3092\u5229\u7528\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u308a(\u5f53\u6642 Experimental \u3067\u3057\u305f)\u3001 v2.4 \u304b\u3089 <code>@nuxt\/typescript<\/code> \u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3057\u3066\u63d0\u4f9b\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3053\u3068\u3067\u3001\u516c\u5f0f\u306e\u578b\u5b9a\u7fa9\u3084\u81ea\u52d5\u88dc\u5b8c\u3001\u30e9\u30f3\u30bf\u30a4\u30e0\u3067\u306e TypeScript \u30b5\u30dd\u30fc\u30c8\u3092\u5f97\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/github.com\/nuxt\/nuxt.js\/tree\/dev\/examples\/typescript\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">examples\/typescript<\/a> \u3092\u898b\u308c\u3070\u3001\u3069\u306e\u3088\u3046\u306b TypeScript \u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5c0e\u5165\u3067\u304d\u308b\u304b\u304c\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3>\u8c4a\u5bcc\u306a\u30b5\u30f3\u30d7\u30eb\u30d1\u30c3\u30b1\u30fc\u30b8<\/h3>\r\n\r\n\r\n\r\n<p>\u5148\u307b\u3069\u7d39\u4ecb\u3057\u305f typescript \u3082\u305d\u3046\u3067\u3059\u304c\u3001\u516c\u5f0f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e <a href=\"https:\/\/github.com\/nuxt\/nuxt.js\/tree\/dev\/examples\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">examples<\/a> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f\u3001\u69d8\u3005\u306a nuxt.js \u306e\u5229\u7528\u65b9\u6cd5\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u5404\u7a2e\u516c\u5f0f\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u3066\u307f\u305f\u3082\u306e\u3001\u5c11\u3057\u7d30\u304b\u3044\u8a2d\u5b9a\u306e\u4ed5\u65b9\u306a\u3069\u3001\u5b9f\u8df5\u7684\u306a\u69cb\u6210\u306b\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u5927\u5909\u53c2\u8003\u306b\u306a\u308b\u3082\u306e\u304c\u4e26\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u3044\u308d\u3093\u306a\u30b5\u30a4\u30c8\u3084\u30b5\u30f3\u30d7\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5de1\u3063\u3066\u69cb\u6210\u3092\u8003\u3048\u308b\u3053\u3068\u3082\u306a\u304f\u3001\u516c\u5f0f\u306e\u30b5\u30f3\u30d7\u30eb\u304b\u3089\u3059\u3050\u306b\u81ea\u5206\u306e\u30d7\u30ed\u30c0\u30af\u30c8\u306b\u3042\u3063\u305f\u69cb\u6210\u3092\u4f5c\u3063\u3066\u3044\u3051\u308b\u306e\u3067\u3001\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u306e\u52b9\u7387\u3082\u975e\u5e38\u306b\u9ad8\u3044\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n<hr class=\"wp-block-separator\" \/>\r\n\r\n\r\n<p>\u3053\u306e\u3088\u3046\u306b\u3001 nuxt.js \u306f <strong>\u300c\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u300d\u306b\u3082\u300c\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u306b\u3082<\/strong> \u5feb\u9069\u306a\u4f53\u9a13\u3092\u63d0\u4f9b\u3059\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u4eca\u56de\u30b6\u30fb\u30b7\u30fc\u30c9\u30aa\u30f3\u30e9\u30a4\u30f3\u3092\u4f5c\u308b\u969b\u306b\u3082\u3001(\u7d30\u304b\u3044\u30cf\u30de\u30ea\u3069\u3053\u308d\u306f\u7d50\u69cb\u3042\u308a\u307e\u3057\u305f\u304c)\u6c17\u6301\u3061\u3088\u304f\u5c0e\u5165\u3057\u3066\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304f\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u73fe\u5728\u3082\u975e\u5e38\u306b\u6d3b\u767a\u306a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u958b\u767a\u304c\u9032\u3081\u3089\u308c\u3066\u3044\u3066\u3001\u307e\u305f Vue.js \u3082 <a href=\"https:\/\/medium.com\/the-vue-point\/plans-for-the-next-iteration-of-vue-js-777ffea6fabf\">v3<\/a> \u306b\u65b0\u3057\u304f\u306a\u308b\u3053\u3068\u3067\u3001\u5927\u304d\u306a\u9032\u6b69\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u4eca\u5f8c\u306e\u6210\u9577\u306b\u5927\u304d\u304f\u671f\u5f85\u3067\u304d\u308b\u72b6\u614b\u3067\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<p>nuxt.js \u306f\u3044\u3044\u305e\u3002<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\u521d\u3081\u307e\u3057\u3066\u3002\u30b6\u30fb\u30b7\u30fc\u30c9\u30aa\u30f3\u30e9\u30a4\u30f3\u958b\u767a\u62c5\u5f53\u306e\u5c71\u5cb8\u3067\u3059\u3002 \u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u793e\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b 3D \u30e2\u30c7\u30eb\u6d41\u901a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0 \u30b6\u30fb\u30b7\u30fc\u30c9\u30aa\u30f3\u30e9\u30a4\u30f3 \u3067\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u6280\u8853\u306b nuxt.js \u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002 nuxt....<\/p>\n","protected":false},"author":3,"featured_media":502,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[20,31,26],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/501"}],"collection":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/comments?post=501"}],"version-history":[{"count":8,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"predecessor-version":[{"id":517,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions\/517"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/media\/502"}],"wp:attachment":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}