{"id":327,"date":"2022-12-23T20:14:36","date_gmt":"2022-12-23T12:14:36","guid":{"rendered":"https:\/\/www.ljcljc.cn\/?p=327"},"modified":"2024-04-08T10:27:08","modified_gmt":"2024-04-08T02:27:08","slug":"vue-js%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0%ef%bc%88%e5%ae%89%e8%a3%85%e7%af%87%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/","title":{"rendered":"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u4ec0\u4e48\u662fVue.js<\/h2>\n\n\n\n<p>Vue (\u8bfb\u97f3 \/vju\u02d0\/\uff0c\u7c7b\u4f3c\u4e8e&nbsp;<strong>view<\/strong>) \u662f\u4e00\u5957\u7528\u4e8e\u6784\u5efa\u7528\u6237\u754c\u9762\u7684<strong>\u6e10\u8fdb\u5f0f\u6846\u67b6<\/strong>\u3002\u4e0e\u5176\u5b83\u5927\u578b\u6846\u67b6\u4e0d\u540c\u7684\u662f\uff0cVue \u88ab\u8bbe\u8ba1\u4e3a\u53ef\u4ee5\u81ea\u5e95\u5411\u4e0a\u9010\u5c42\u5e94\u7528\u3002Vue \u7684\u6838\u5fc3\u5e93\u53ea\u5173\u6ce8\u89c6\u56fe\u5c42\uff0c\u4e0d\u4ec5\u6613\u4e8e\u4e0a\u624b\uff0c\u8fd8\u4fbf\u4e8e\u4e0e\u7b2c\u4e09\u65b9\u5e93\u6216\u65e2\u6709\u9879\u76ee\u6574\u5408\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u5f53\u4e0e<a href=\"https:\/\/v2.cn.vuejs.org\/v2\/guide\/single-file-components.html\">\u73b0\u4ee3\u5316\u7684\u5de5\u5177\u94fe<\/a>\u4ee5\u53ca\u5404\u79cd<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/vuejs\/awesome-vue#libraries--plugins\" target=\"_blank\">\u652f\u6301\u7c7b\u5e93<\/a>\u7ed3\u5408\u4f7f\u7528\u65f6\uff0cVue \u4e5f\u5b8c\u5168\u80fd\u591f\u4e3a\u590d\u6742\u7684\u5355\u9875\u5e94\u7528\u63d0\u4f9b\u9a71\u52a8\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u521b\u5efa\u7b2c\u4e00\u4e2aVue\u9879\u76ee<\/h2>\n\n\n\n<p><strong>\u4e00\u3001\u5b89\u88c5Vue Cli\u811a\u624b\u67b6<\/strong><\/p>\n\n\n\n<p>1\u3001 \u4f7f\u7528npm\uff08\u9700\u8981\u5b89\u88c5node\u73af\u5883\uff09\u5168\u5c40\u5b89\u88c5webpack\uff0c\u6253\u5f00\u547d\u4ee4\u884c\u5de5\u5177\u8f93\u5165\uff1anpm install webpack -g\u6216\u8005\uff08npm install -g webpack\uff09\uff0c\u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\u8f93\u5165 webpack -v\uff0c\u5982\u679c\u51fa\u73b0\u76f8\u5e94\u7684\u7248\u672c\u53f7\uff0c\u5219\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n\n\n\n<p><em>\u6ce8\u610f\uff1awebpack 4.X \u5f00\u59cb\uff0c\u9700\u8981\u5b89\u88c5 webpack-cli \u4f9d\u8d56 ,\u6240\u4ee5\u4f7f\u7528\u8fd9\u6761\u547d\u4ee4 npm install webpack webpack-cli -g<\/em><\/p>\n\n\n\n<p>2\u3001 \u5168\u5c40\u5b89\u88c5vue-cli\uff0c\u5728cmd\u4e2d\u8f93\u5165\u547d\u4ee4:npm install &#8211;global vue-cli<\/p>\n\n\n\n<p>3\u3001\u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\u8f93\u5165 vue -V\uff08\u6ce8\u610f\u8fd9\u91cc\u662f\u5927\u5199\u7684\u201cV\u201d\uff09\u3002<\/p>\n\n\n\n<p><strong>\u4e8c\u3001\u7528vue-cli\u6765\u6784\u5efa\u9879\u76ee<\/strong><\/p>\n\n\n\n<p>1\u3001\u521b\u5efa\u4e00\u4e2a\u9879\u76ee\u76ee\u5f55\uff0c\u5728\u8be5\u76ee\u5f55\u4e0b\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165<strong>vue init webpack my-project<\/strong>   \u5176\u4e2d\uff0c<strong>my-project<\/strong>\u4e3a\u9879\u76ee\u540d<\/p>\n\n\n\n<p>\u8f93\u5165\u547d\u4ee4\u540e\uff0c\u4f1a\u8df3\u51fa\u51e0\u4e2a\u9009\u9879\u8ba9\u4f60\u56de\u7b54\uff1a<\/p>\n\n\n\n<p>Project name (baoge)\uff1a &#8212;&#8211;\u9879\u76ee\u540d\u79f0\uff0c\u76f4\u63a5\u56de\u8f66\uff0c\u6309\u7167\u62ec\u53f7\u4e2d\u9ed8\u8ba4\u540d\u5b57\uff08\u6ce8\u610f\u8fd9\u91cc\u7684\u540d\u5b57\u4e0d\u80fd\u6709\u5927\u5199\u5b57\u6bcd\uff09<br>Project description (A Vue.js project)\uff1a &#8212;-\u9879\u76ee\u63cf\u8ff0\uff0c\u4e5f\u53ef\u76f4\u63a5\u70b9\u51fb\u56de\u8f66\uff0c\u4f7f\u7528\u9ed8\u8ba4\u540d\u5b57<br>Author ()\uff1a &#8212;-\u4f5c\u8005\uff0c\u8f93\u5165\u4f60\u7684\u5927\u540d<\/p>\n\n\n\n<p><br>\u63a5\u4e0b\u6765\u4f1a\u8ba9\u7528\u6237\u9009\u62e9\uff1a<\/p>\n\n\n\n<p>Runtime + Compiler: recommended for most users <\/p>\n\n\n\n<p>\u8fd0\u884c\u52a0\u7f16\u8bd1\uff0c\u65e2\u7136\u5df2\u7ecf\u8bf4\u4e86\u63a8\u8350\uff0c\u5c31\u9009\u5b83\u4e86<\/p>\n\n\n\n<p><br>Runtime-only: about 6KB lighter min+gzip, but templates (or any Vue-specificHTML) are ONLY allowed in .vue files &#8211; render functions are required elsewhere <\/p>\n\n\n\n<p>\u4ec5\u8fd0\u884c\u65f6\uff0c\u5df2\u7ecf\u6709\u63a8\u8350\u4e86\u5c31\u9009\u62e9\u7b2c\u4e00\u4e2a\u4e86<\/p>\n\n\n\n<p><br>Install vue-router (Y\/n) <\/p>\n\n\n\n<p>\u662f\u5426\u5b89\u88c5vue-router\uff0c\u8fd9\u662f\u5b98\u65b9\u7684\u8def\u7531\uff0c\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u90fd\u4f7f\u7528\uff0c\u8fd9\u91cc\u5c31\u8f93\u5165\u201cy\u201d\u540e\u56de\u8f66\u5373\u53ef\u3002<\/p>\n\n\n\n<p><br>Use ESLint to lint your code (Y\/n)<\/p>\n\n\n\n<p>\u662f\u5426\u4f7f\u7528ESLint\u7ba1\u7406\u4ee3\u7801\uff0cESLint\u662f\u4e2a\u4ee3\u7801\u98ce\u683c\u7ba1\u7406\u5de5\u5177\uff0c\u662f\u7528\u6765\u7edf\u4e00\u4ee3\u7801\u98ce\u683c\u7684\uff0c\u4e00\u822c\u9879\u76ee\u4e2d\u90fd\u4f1a\u4f7f\u7528\u3002<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<p>Pick an ESLint preset (Use arrow keys) <\/p>\n\n\n\n<p>\u9009\u62e9\u4e00\u4e2aESLint\u9884\u8bbe\uff0c\u7f16\u5199vue\u9879\u76ee\u65f6\u7684\u4ee3\u7801\u98ce\u683c\uff0c\u76f4\u63a5y\u56de\u8f66<\/p>\n\n\n\n<p><br>Setup unit tests with Karma + Mocha (Y\/n) <\/p>\n\n\n\n<p>\u662f\u5426\u5b89\u88c5\u5355\u5143\u6d4b\u8bd5\uff0c\u6211\u9009\u62e9\u5b89\u88c5y\u56de\u8f66<\/p>\n\n\n\n<p><br>Setup e2e tests with Nightwatch(Y\/n) <\/p>\n\n\n\n<p>\u662f\u5426\u5b89\u88c5e2e\u6d4b\u8bd5 \uff0c\u6211\u9009\u62e9\u5b89\u88c5y\u56de\u8f66<\/p>\n\n\n\n<p>2\u3001\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u770b\u5230\u76ee\u5f55\u4e0b\u591a\u51fa\u4e86\u4e00\u4e2a<strong>my-project<\/strong>\u9879\u76ee\u6587\u4ef6\u5939\uff0c\u7136\u540ecd\u8fdb\u5165\u8fd9\u4e2a\u6587\u4ef6\u5939\uff1a<br>\u5b89\u88c5\u4f9d\u8d56\uff1a<strong>npm install<\/strong><\/p>\n\n\n\n<p>3\u3001\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u9879\u76ee\u76ee\u5f55\u7684\u7ed3\u6784<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2022\/12\/image.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" data-original=\"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2022\/12\/image.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-329\" width=\"383\" height=\"551\"  sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><\/div><figcaption class=\"wp-element-caption\">\u9879\u76ee\u76ee\u5f55\u7ed3\u6784<\/figcaption><\/figure><\/div>\n\n\n<p><br><\/p>\n\n\n\n<p>3.\u542f\u52a8\u9879\u76ee&nbsp;<strong>npm run dev<\/strong><\/p>\n\n\n\n<p><em>\u5982\u679c\u6d4f\u89c8\u5668\u6253\u5f00\u4e4b\u540e\uff0c\u6ca1\u6709\u52a0\u8f7d\u51fa\u9875\u9762\uff0c\u6709\u53ef\u80fd\u662f\u672c\u5730\u7684 8080 \u7aef\u53e3\u88ab\u5360\u7528\uff0c\u9700\u8981\u4fee\u6539\u4e00\u4e0b\u914d\u7f6e\u6587\u4ef6 config\u91cc\u7684index.js<\/em><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2022\/12\/image-1.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" data-original=\"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2022\/12\/image-1.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-330\" width=\"655\" height=\"401\"  sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/div><figcaption class=\"wp-element-caption\">\u4fee\u6539\u7aef\u53e3\u53f7<\/figcaption><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662fVue.js Vue (\u8bfb\u97f3 \/vju\u02d0\/\uff0c\u7c7b\u4f3c\u4e8e&nbsp;view) \u662f\u4e00\u5957\u7528\u4e8e\u6784\u5efa\u7528\u6237\u754c\u9762\u7684\u6e10\u8fdb\u5f0f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-327","post","type-post","status-publish","format-standard","hentry","category-vue-js"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09 - LJC&#039;s blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09 - LJC&#039;s blog\" \/>\n<meta property=\"og:description\" content=\"\u4ec0\u4e48\u662fVue.js Vue (\u8bfb\u97f3 \/vju\u02d0\/\uff0c\u7c7b\u4f3c\u4e8e&nbsp;view) \u662f\u4e00\u5957\u7528\u4e8e\u6784\u5efa\u7528\u6237\u754c\u9762\u7684\u6e10\u8fdb\u5f0f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/\" \/>\n<meta property=\"og:site_name\" content=\"LJC&#039;s blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-23T12:14:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-08T02:27:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2022\/12\/image.png\" \/>\n<meta name=\"author\" content=\"\u674e \u9526\u6210\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u674e \u9526\u6210\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/\"},\"author\":{\"name\":\"\u674e \u9526\u6210\",\"@id\":\"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46\"},\"headline\":\"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09\",\"datePublished\":\"2022-12-23T12:14:36+00:00\",\"dateModified\":\"2024-04-08T02:27:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/\"},\"wordCount\":149,\"publisher\":{\"@id\":\"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46\"},\"articleSection\":[\"Vue.js\u5b66\u4e60\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/\",\"url\":\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/\",\"name\":\"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09 - LJC&#039;s blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.ljcljc.cn\/#website\"},\"datePublished\":\"2022-12-23T12:14:36+00:00\",\"dateModified\":\"2024-04-08T02:27:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/blog.ljcljc.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.ljcljc.cn\/#website\",\"url\":\"https:\/\/blog.ljcljc.cn\/\",\"name\":\"LJC&#039;s blog\",\"description\":\"\u5c0f\u6210\u77e5\u8bc6\u5e93\",\"publisher\":{\"@id\":\"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.ljcljc.cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46\",\"name\":\"\u674e \u9526\u6210\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2023\/02\/g.jpg\",\"contentUrl\":\"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2023\/02\/g.jpg\",\"width\":500,\"height\":500,\"caption\":\"\u674e \u9526\u6210\"},\"logo\":{\"@id\":\"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/blog.ljcljc.cn\/index.php\/author\/ljc\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09 - LJC&#039;s blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/","og_locale":"zh_CN","og_type":"article","og_title":"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09 - LJC&#039;s blog","og_description":"\u4ec0\u4e48\u662fVue.js Vue (\u8bfb\u97f3 \/vju\u02d0\/\uff0c\u7c7b\u4f3c\u4e8e&nbsp;view) \u662f\u4e00\u5957\u7528\u4e8e\u6784\u5efa\u7528\u6237\u754c\u9762\u7684\u6e10\u8fdb\u5f0f [&hellip;]","og_url":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/","og_site_name":"LJC&#039;s blog","article_published_time":"2022-12-23T12:14:36+00:00","article_modified_time":"2024-04-08T02:27:08+00:00","og_image":[{"url":"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2022\/12\/image.png"}],"author":"\u674e \u9526\u6210","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u674e \u9526\u6210","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/#article","isPartOf":{"@id":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/"},"author":{"name":"\u674e \u9526\u6210","@id":"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46"},"headline":"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09","datePublished":"2022-12-23T12:14:36+00:00","dateModified":"2024-04-08T02:27:08+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/"},"wordCount":149,"publisher":{"@id":"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46"},"articleSection":["Vue.js\u5b66\u4e60"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/","url":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/","name":"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09 - LJC&#039;s blog","isPartOf":{"@id":"https:\/\/blog.ljcljc.cn\/#website"},"datePublished":"2022-12-23T12:14:36+00:00","dateModified":"2024-04-08T02:27:08+00:00","breadcrumb":{"@id":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.ljcljc.cn\/index.php\/2022\/12\/23\/327\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.ljcljc.cn\/"},{"@type":"ListItem","position":2,"name":"Vue.js\u5b66\u4e60\u7b14\u8bb0\uff08\u5b89\u88c5\u7bc7\uff09"}]},{"@type":"WebSite","@id":"https:\/\/blog.ljcljc.cn\/#website","url":"https:\/\/blog.ljcljc.cn\/","name":"LJC&#039;s blog","description":"\u5c0f\u6210\u77e5\u8bc6\u5e93","publisher":{"@id":"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.ljcljc.cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/2e095138311f9c813747d20a8f911a46","name":"\u674e \u9526\u6210","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/image\/","url":"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2023\/02\/g.jpg","contentUrl":"https:\/\/www.ljcljc.cn\/wp-content\/uploads\/2023\/02\/g.jpg","width":500,"height":500,"caption":"\u674e \u9526\u6210"},"logo":{"@id":"https:\/\/blog.ljcljc.cn\/#\/schema\/person\/image\/"},"url":"https:\/\/blog.ljcljc.cn\/index.php\/author\/ljc\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/comments?post=327"}],"version-history":[{"count":3,"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/posts\/327\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ljcljc.cn\/index.php\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}