{"id":246,"date":"2019-06-30T16:35:18","date_gmt":"2019-06-30T07:35:18","guid":{"rendered":"http:\/\/snow-cat.net\/?p=246"},"modified":"2019-06-30T16:35:18","modified_gmt":"2019-06-30T07:35:18","slug":"vue-js%e3%82%92%e4%b8%80%e3%81%8b%e3%82%89%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/snow-cat.net\/?p=246","title":{"rendered":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u308f\u3001\u3086\u304d\u306d\u3053\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1vue.js\u306e\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u9806\u756a\u3092\u307e\u3068\u3081\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u521d\u671f\u8a2d\u5b9a<\/h2>\n<p>\u307e\u305a\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u3063\u3066vue\u3068webpack\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"setting\">mkdir {project_name}\r\ncd {project_name}\r\n\/\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\r\nmkdir dist\r\ntouch dist\/index.html\r\nmkdir src\r\nmkdir src\/components\r\ntouch src\/index.js\r\ntouch src\/App.vue\r\n\r\n\/\/ package.json\u306e\u4f5c\u6210\r\nnpm init -y\r\n\/\/ vue\u306e\u8a2d\u5b9a\r\nnpm install --save-dev vue vue-loader vue-router vue-template-compiler\r\n\/\/ webpack\u306e\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\nnpm install --save-dev webpack webpack-cli webpack-dev-server\r\n\r\n\/\/ webpack\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\r\ntouch\u00a0webpack.config.js<\/pre>\n<h2>webpack\u306e\u8a2d\u5b9a<\/h2>\n<p>\u6b21\u306bwebpack\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059<\/p>\n<p>webpack.config.js\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true\" title=\"webpack.config.js\">const path = require('path')\r\nmodule.exports = {\r\n  \/\/ \u30e2\u30fc\u30c9\u306e\u8a2d\u5b9a\r\n  \/\/ developmemt or production\r\n  mode: 'developmemt',\r\n  \/\/ \u30a8\u30f3\u30c8\u30ea\u30fc\u30dd\u30a4\u30f3\u30c8\r\n  entry: '.\/src\/index.js',\r\n  output: {\r\n    \/\/ \u51fa\u529b\u5148\u30d5\u30a9\u30eb\u30c0\r\n    path: path.resolve(__dirname, 'dist'),\r\n    \/\/ \u51fa\u529b\u5148\u30d5\u30a1\u30a4\u30eb\u540d\r\n    filename: 'main.js'\r\n  }\r\n}<\/pre>\n<p>\u30a8\u30f3\u30c8\u30ea\u30fc\u30dd\u30a4\u30f3\u30c8\u3067\u8d77\u70b9\u3068\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u76f4\u4e0b\u306bdist\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3066\u3001build\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092main.js\u3068\u3057\u3066\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div>\n<p>\u6b21\u306b\u30b3\u30de\u30f3\u30c9\u3067build\u3067\u304d\u308b\u3088\u3046\u306bpackage.json\u3092\u66f8\u304d\u63db\u3048\u307e\u3059<\/p>\n<div>\n<pre class=\"lang:js decode:true\" title=\"package.json\">\"scripts\": {\r\n  \"test\": \"echo \\\"Error: no test specified\\\" &amp;&amp; exit 1\"\r\n}<\/pre>\n<\/div>\n<p>\u3053\u3053\u306bbuild\u3092\u52a0\u3048\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059<\/p>\n<\/div>\n<div>\n<pre class=\"lang:default decode:true\" title=\"package.json\">\"scripts\": {\r\n\u00a0 \"test\": \"echo \\\"Error: no test specified\\\" &amp;&amp; exit 1\",\r\n\u00a0 \"build\":\"npx webpack --config .\/webpack.config.js\"\r\n}<\/pre>\n<p>\u305d\u3046\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067build\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059<\/p>\n<pre class=\"lang:default decode:true\">npm run build\r\n<\/pre>\n<\/div>\n<h2>Loader\u306e\u8a2d\u5b9a<\/h2>\n<p>\u6b21\u306b\u30ed\u30fc\u30c0\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ed\u30fc\u30c0\u30fc\u306fvue\u30d5\u30a1\u30a4\u30eb\u3092import\u3059\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\uff1f\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u65b9\u6cd5\u306fwebpack.config.js\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u8a18\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">const path = require('path')\r\nconst VueLoaderPlugin = require('vue-loader\/lib\/plugin')\r\nmodule.exports = {\r\n  ...\r\n  module: {\r\n    rules: [\r\n      {\r\n        test: \/\\.vue$\/,\r\n        loader: 'vue-loader'\r\n      }\r\n    ]\r\n  },\r\n  plugins: [\r\n    new VueLoaderPlugin()\r\n  ]\r\n  }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h2>App.vue\u306e\u8a2d\u5b9a<\/h2>\n<p>vue\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u66f8\u3044\u3066\u884c\u304d\u307e\u3059<\/p>\n<p>App.vue\u306f\u30d9\u30fc\u30b9\u3068\u306a\u308b\u611f\u3058\u3067src\u76f4\u4e0b\u306b\u7f6e\u3044\u3066\u307e\u3059\u304c\u3001\u57fa\u672c\u7684\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f.\/src\/components\/\u306b\u7f6e\u3044\u3066\u3044\u304d\u307e\u3059<\/p>\n<div>\n<div>\n<pre class=\"lang:default decode:true\" title=\"App.vue\">&lt;template&gt;\r\n\u3000\u3000&lt;div&gt;\r\n\u3000\u3000\u3000\u3000&lt;p&gt;\u30c6\u30b9\u30c8&lt;\/p&gt;\r\n\u3000\u3000&lt;\/div&gt;\r\n&lt;\/template&gt;<\/pre>\n<p>\u3072\u3068\u307e\u305a\u3053\u3093\u306a\u611f\u3058\u3067\u3059<\/p>\n<\/div>\n<\/div>\n<h2>index.js\u306e\u8a2d\u5b9a<\/h2>\n<div>\n<pre class=\"lang:default decode:true\">import Vue from 'vue';\r\nimport App from '.\/App.vue';\r\n\r\nVue.config.productionTip = false;\r\n\r\nnew Vue({\r\n\u3000\u3000el:'#app',\r\n\u3000\u3000components: { App },\r\n\u3000\u3000template:'&lt;\/App&gt;',\r\n\u3000\u3000render:h=&gt;h(App)\r\n})<\/pre>\n<\/div>\n<div>\n<h2>html\u306e\u8a2d\u5b9a<\/h2>\n<p>dist\u306e\u4e0b\u306ehtml\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u3058\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3088\u308d\u3057\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div>\n<pre class=\"lang:default decode:true\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"&gt;\r\n&lt;title&gt;\u30c6\u30b9\u30c8&lt;\/title&gt;\r\n&lt;meta charset=\"utf-8\"&gt;\r\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"&gt;\r\n&lt;!-- js --&gt;\r\n&lt;script src=\"https:\/\/unpkg.com\/vue@2.5.17\"&gt;&lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\u00a0\u00a0\u00a0\u00a0&lt;div id=\"app\"&gt;\r\n\u00a0\u00a0\u00a0\u00a0&lt;div&gt;\r\n\u00a0\u00a0\u00a0\u00a0&lt;script src=\".\/main.js\"&gt;&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>vue\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306fhead\u3067\u8aad\u307f\u8fbc\u307f\u307e\u3059\u304c\u3001main.js\u306fid\u304capp\u306e\u3042\u3068\u306b\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<\/div>\n<p>\u305f\u3057\u304bhtml\u306f\u4e0a\u304b\u3089\u8aad\u307f\u8fbc\u3093\u3067\u3044\u304d\u307e\u3059\u304c\u3001<\/p>\n<\/div>\n<h2>dev\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059<\/p>\n<pre class=\"lang:default decode:true\">npm install --save-dev webpack-dev-server<\/pre>\n<p>\u6b21\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30b5\u30fc\u30d0\u3092webpack\u306b\u767b\u9332\u3057\u307e\u3059<\/p>\n<p>\u5148\u307b\u3069\u306ewebpack.config.js\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u8a18\u3057\u307e\u3059<\/p>\n<pre class=\"lang:default decode:true\" title=\"webpack.config.js\">module.exports = {\r\n\u3000\u3000output: {\r\n\u3000\u3000\u3000\u3000\u30fb\u30fb\u30fb\r\n\u3000\u3000},\r\n\u3000\u3000devServer: {\r\n\u3000\u3000\u3000\u3000contentBase:'.\/dist'\r\n\u3000\u3000}\r\n}<\/pre>\n<div>\n<p>\u305d\u3057\u3066\u3001dev\u30b5\u30fc\u30d0\u3092npm\u306e\u30b3\u30de\u30f3\u30c9\u3067\u52d5\u304b\u305b\u308b\u3088\u3046\u306b\u4ee5\u4e0b\u3092package.json\u306b\u8ffd\u8a18\u3057\u307e\u3059<\/p>\n<div>\n<pre class=\"lang:default decode:true\">\"start\": \"webpack-dev-server --open\"<\/pre>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u3044\u3066localhost:8080\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u753b\u9762\u304c\u958b\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<div><\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u308f\u3001\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u6700\u8fd1vue.js\u306e\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u9806\u756a\u3092\u307e\u3068\u3081\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-246","post","type-post","status-publish","format-standard","hentry","category-1"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"hiro\"\/>\n\t<meta name=\"keywords\" content=\"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/snow-cat.net\/?p=246\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u3086\u304d\u306d\u3053 | \u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b | \u3086\u304d\u306d\u3053\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/snow-cat.net\/?p=246\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-06-30T07:35:18+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-06-30T07:35:18+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b | \u3086\u304d\u306d\u3053\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#article\",\"name\":\"vue.js\\u3092\\u4e00\\u304b\\u3089\\u8a2d\\u5b9a\\u3059\\u308b | \\u3086\\u304d\\u306d\\u3053\",\"headline\":\"vue.js\\u3092\\u4e00\\u304b\\u3089\\u8a2d\\u5b9a\\u3059\\u308b\",\"author\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#organization\"},\"datePublished\":\"2019-06-30T16:35:18+09:00\",\"dateModified\":\"2019-06-30T16:35:18+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#webpage\"},\"articleSection\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/snow-cat.net\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1#listItem\",\"name\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1#listItem\",\"position\":2,\"name\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\",\"item\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#listItem\",\"name\":\"vue.js\\u3092\\u4e00\\u304b\\u3089\\u8a2d\\u5b9a\\u3059\\u308b\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#listItem\",\"position\":3,\"name\":\"vue.js\\u3092\\u4e00\\u304b\\u3089\\u8a2d\\u5b9a\\u3059\\u308b\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1#listItem\",\"name\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\"}}]},{\"@type\":\"Organization\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#organization\",\"name\":\"\\u3086\\u304d\\u306d\\u3053\",\"description\":\"\\u90fd\\u5185\\u3067\\u50cd\\u3044\\u3066\\u3044\\u308b\\u6587\\u7cfbSE\\u3067\\u3059\\u3002\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/?author=1\",\"name\":\"hiro\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0266890b4dc540ca6de4dffdc44dcc19158ff74388ab5c362eb814f5ba8b5816?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"hiro\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#webpage\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/?p=246\",\"name\":\"vue.js\\u3092\\u4e00\\u304b\\u3089\\u8a2d\\u5b9a\\u3059\\u308b | \\u3086\\u304d\\u306d\\u3053\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=246#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\"},\"datePublished\":\"2019-06-30T16:35:18+09:00\",\"dateModified\":\"2019-06-30T16:35:18+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#website\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/\",\"name\":\"\\u3086\\u304d\\u306d\\u3053\",\"description\":\"\\u90fd\\u5185\\u3067\\u50cd\\u3044\\u3066\\u3044\\u308b\\u6587\\u7cfbSE\\u3067\\u3059\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b | \u3086\u304d\u306d\u3053","description":"","canonical_url":"http:\/\/snow-cat.net\/?p=246","robots":"max-image-preview:large","keywords":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/snow-cat.net\/?p=246#article","name":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b | \u3086\u304d\u306d\u3053","headline":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b","author":{"@id":"http:\/\/snow-cat.net\/?author=1#author"},"publisher":{"@id":"http:\/\/snow-cat.net\/#organization"},"datePublished":"2019-06-30T16:35:18+09:00","dateModified":"2019-06-30T16:35:18+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"http:\/\/snow-cat.net\/?p=246#webpage"},"isPartOf":{"@id":"http:\/\/snow-cat.net\/?p=246#webpage"},"articleSection":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d"},{"@type":"BreadcrumbList","@id":"http:\/\/snow-cat.net\/?p=246#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/snow-cat.net#listItem","position":1,"name":"Home","item":"http:\/\/snow-cat.net","nextItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?cat=1#listItem","name":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d"}},{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?cat=1#listItem","position":2,"name":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","item":"http:\/\/snow-cat.net\/?cat=1","nextItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?p=246#listItem","name":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b"},"previousItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?p=246#listItem","position":3,"name":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b","previousItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?cat=1#listItem","name":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d"}}]},{"@type":"Organization","@id":"http:\/\/snow-cat.net\/#organization","name":"\u3086\u304d\u306d\u3053","description":"\u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002","url":"http:\/\/snow-cat.net\/"},{"@type":"Person","@id":"http:\/\/snow-cat.net\/?author=1#author","url":"http:\/\/snow-cat.net\/?author=1","name":"hiro","image":{"@type":"ImageObject","@id":"http:\/\/snow-cat.net\/?p=246#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0266890b4dc540ca6de4dffdc44dcc19158ff74388ab5c362eb814f5ba8b5816?s=96&d=mm&r=g","width":96,"height":96,"caption":"hiro"}},{"@type":"WebPage","@id":"http:\/\/snow-cat.net\/?p=246#webpage","url":"http:\/\/snow-cat.net\/?p=246","name":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b | \u3086\u304d\u306d\u3053","inLanguage":"ja","isPartOf":{"@id":"http:\/\/snow-cat.net\/#website"},"breadcrumb":{"@id":"http:\/\/snow-cat.net\/?p=246#breadcrumblist"},"author":{"@id":"http:\/\/snow-cat.net\/?author=1#author"},"creator":{"@id":"http:\/\/snow-cat.net\/?author=1#author"},"datePublished":"2019-06-30T16:35:18+09:00","dateModified":"2019-06-30T16:35:18+09:00"},{"@type":"WebSite","@id":"http:\/\/snow-cat.net\/#website","url":"http:\/\/snow-cat.net\/","name":"\u3086\u304d\u306d\u3053","description":"\u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002","inLanguage":"ja","publisher":{"@id":"http:\/\/snow-cat.net\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u3086\u304d\u306d\u3053 | \u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002","og:type":"article","og:title":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b | \u3086\u304d\u306d\u3053","og:url":"http:\/\/snow-cat.net\/?p=246","article:published_time":"2019-06-30T07:35:18+00:00","article:modified_time":"2019-06-30T07:35:18+00:00","twitter:card":"summary","twitter:title":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b | \u3086\u304d\u306d\u3053"},"aioseo_meta_data":{"post_id":"246","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 04:05:55","updated":"2025-06-04 04:40:15","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/snow-cat.net\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/snow-cat.net\/?cat=1\" title=\"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d\">\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tvue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/snow-cat.net"},{"label":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","link":"http:\/\/snow-cat.net\/?cat=1"},{"label":"vue.js\u3092\u4e00\u304b\u3089\u8a2d\u5b9a\u3059\u308b","link":"http:\/\/snow-cat.net\/?p=246"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pattVc-3Y","jetpack-related-posts":[{"id":993,"url":"http:\/\/snow-cat.net\/?p=993","url_meta":{"origin":246,"position":0},"title":"Laravel8\u306bvue.js\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5","author":"hiro","date":"2021\u5e745\u67083\u65e5","format":false,"excerpt":"\u73fe\u5728\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9032\u3081\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001vue\u3092\u5c0e\u5165\u3059\u308b\u65b9\u6cd5\u306f\u666e\u901a\u306bSPA\u3067\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3068\u306f\u82e5\u5e72\u7570\u306a\u308b\u2026","rel":"","context":"JavaScript","block_context":{"text":"JavaScript","link":"http:\/\/snow-cat.net\/?cat=11"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":547,"url":"http:\/\/snow-cat.net\/?p=547","url_meta":{"origin":246,"position":1},"title":"swagger\u306e\u74b0\u5883\u69cb\u7bc9","author":"hiro","date":"2020\u5e746\u67086\u65e5","format":false,"excerpt":"swagger\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u52c9\u5f37\u4f1a\u306b\u53c2\u52a0\u3057\u305f\u306e\u3067\u3001swagger\u306e\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u305f\u30e2\u30c3\u30af\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u3066\u307f\u2026","rel":"","context":"\u6280\u8853","block_context":{"text":"\u6280\u8853","link":"http:\/\/snow-cat.net\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2020\/06\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2020-06-06-16.57.38-3-300x25.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":447,"url":"http:\/\/snow-cat.net\/?p=447","url_meta":{"origin":246,"position":2},"title":"\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u3067\u4f7f\u7528\u3057\u305f\u6280\u8853","author":"hiro","date":"2020\u5e744\u670816\u65e5","format":false,"excerpt":"\u6628\u65e5\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 \u73fe\u5728\u8ee2\u8077\u4e2d\u306a\u306e\u3067\u4f5c\u3063\u305f\u306e\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3082\u3068\u3082\u3068SPA\u3092\u4f5c\u308a\u305f\u304b\u3063\u2026","rel":"","context":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","block_context":{"text":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","link":"http:\/\/snow-cat.net\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":962,"url":"http:\/\/snow-cat.net\/?p=962","url_meta":{"origin":246,"position":3},"title":"zsh\u306e\u8a2d\u5b9a","author":"hiro","date":"2021\u5e745\u67089\u65e5","format":false,"excerpt":"\u6700\u8fd1Mac\u306eOS\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5237\u65b0\u3057\u305f\u306e\u3067\u3001\u3064\u3044\u3067\u306bzsh\u306e\u8a2d\u5b9a\u3082\u3057\u3061\u3083\u3044\u307e\u3057\u305f\u3002 fish\u3082\u2026","rel":"","context":"shell","block_context":{"text":"shell","link":"http:\/\/snow-cat.net\/?cat=22"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":959,"url":"http:\/\/snow-cat.net\/?p=959","url_meta":{"origin":246,"position":4},"title":"heroku\u306bdocker-compose\u3092\u4f7f\u3063\u3066Laravel\u88fd\u500b\u4eba\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","author":"hiro","date":"2021\u5e745\u67082\u65e5","format":false,"excerpt":"\u6700\u8fd1\u500b\u4eba\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30a4\u30f3\u30d5\u30e9\u3069\u3046\u3057\u3088\u3046\u304b\u306a\u3068\u601d\u3063\u3066\u3068\u308a\u3042\u3048\u305aheroku\u3067\u884c\u3053\u3046\u3068\u2026","rel":"","context":"heroku","block_context":{"text":"heroku","link":"http:\/\/snow-cat.net\/?cat=21"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=700%2C400 2x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=1050%2C600 3x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=1400%2C800 4x"},"classes":[]},{"id":947,"url":"http:\/\/snow-cat.net\/?p=947","url_meta":{"origin":246,"position":5},"title":"October\u3092Mac\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b","author":"hiro","date":"2021\u5e743\u670828\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u306f\u3001\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u7686\u3055\u3093\u306f\u666e\u6bb5CMS\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1f \u4ee5\u524dwagtail\u3092\u89e6\u3063\u3066\u3044\u305f\u306e\u3067\u2026","rel":"","context":"PHP","block_context":{"text":"PHP","link":"http:\/\/snow-cat.net\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/03\/qa-207x300.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=246"}],"version-history":[{"count":11,"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions"}],"predecessor-version":[{"id":259,"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions\/259"}],"wp:attachment":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}