{"id":58853,"date":"2025-08-16T17:00:39","date_gmt":"2025-08-16T09:00:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/58853.html"},"modified":"2025-08-16T17:00:39","modified_gmt":"2025-08-16T09:00:39","slug":"openeuler-%e7%ad%89-linux-%e7%b3%bb%e7%bb%9f%e4%b8%ad%e8%bf%90%e8%a1%8c-vue-%e9%a1%b9%e7%9b%ae%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/58853.html","title":{"rendered":"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5"},"content":{"rendered":"<p>\u5728 OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee&#xff0c;\u901a\u5e38\u9700\u8981\u7ecf\u8fc7\u73af\u5883\u51c6\u5907\u3001\u9879\u76ee\u90e8\u7f72\u3001\u542f\u52a8\u670d\u52a1\u4e09\u4e2a\u6b65\u9aa4\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u64cd\u4f5c\u6307\u5357&#xff1a;<\/p>\n<h4>\u4e00\u3001\u51c6\u5907\u8fd0\u884c\u73af\u5883<\/h4>\n<p>Vue \u9879\u76ee\u4f9d\u8d56 Node.js&#xff08;\u5305\u542b npm \u5305\u7ba1\u7406\u5668&#xff09;&#xff0c;\u9700\u5148\u5b89\u88c5&#xff1a;<\/p>\n<h5>1. \u5b89\u88c5 Node.js \u548c npm<\/h5>\n<ul>\n<li>\n<p>\u65b9\u6cd5 1&#xff1a;\u901a\u8fc7\u7cfb\u7edf\u5305\u7ba1\u7406\u5668&#xff08;\u63a8\u8350&#xff0c;\u9002\u5408 OpenEuler&#xff09;<br \/>\nOpenEuler \u7684\u8f6f\u4ef6\u6e90\u4e2d\u53ef\u80fd\u5305\u542b Node.js&#xff0c;\u76f4\u63a5\u5b89\u88c5&#xff1a;<\/p>\n<p># \u67e5\u770b\u53ef\u7528\u53ef\u7528\u7248\u672c<br \/>\nsudo dnf search nodejs<\/p>\n<p># \u5b89\u88c5&#xff08;\u4ee5Node.js 16\u4e3a\u4f8b&#xff0c;\u53ef\u6839\u636e\u9879\u76ee\u9700\u6c42\u9009\u62e9\u7248\u672c&#xff09;<br \/>\nsudo dnf install -y nodejs-16.x86_64  # \u5177\u4f53\u7248\u672c\u53f7\u4ee5\u641c\u7d22\u7ed3\u679c\u4e3a\u51c6<\/p>\n<p># \u9a8c\u8bc1\u5b89\u88c5<br \/>\nnode -v  # \u8f93\u51faNode.js\u7248\u672c&#xff0c;\u5982v16.20.2<br \/>\nnpm -v   # \u8f93\u51fanpm\u7248\u672c&#xff0c;\u59828.19.4<\/p>\n<\/li>\n<li>\n<p>\u65b9\u6cd5 2&#xff1a;\u901a\u8fc7 NodeSource \u5b89\u88c5&#xff08;\u9002\u5408\u9700\u8981\u7279\u5b9a\u7248\u672c&#xff09;<br \/>\n\u82e5\u7cfb\u7edf\u6e90\u7248\u672c\u4e0d\u7b26&#xff0c;\u53ef\u4f7f\u7528 NodeSource \u811a\u672c\u5b89\u88c5&#xff1a;<\/p>\n<p># \u5b89\u88c5Node.js 18&#xff08;\u5176\u4ed6\u7248\u672c\u66ff\u6362\u6570\u5b57\u5373\u53ef&#xff09;<br \/>\ncurl -fsSL https:\/\/deb.nodesource.com\/setup_18.x | sudo -E bash &#8211;<br \/>\nsudo dnf install -y nodejs  # OpenEuler\u4f7f\u7528dnf&#xff0c;Ubuntu\u7528apt<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e8c\u3001\u83b7\u53d6 Vue \u9879\u76ee\u4ee3\u7801<\/h4>\n<li>\n<p>\u514b\u9686\u9879\u76ee&#xff08;\u82e5\u4f7f\u7528 Git&#xff09;<\/p>\n<p>git clone &lt;\u9879\u76ee\u4ed3\u5e93\u5730\u5740&gt;<br \/>\ncd &lt;\u9879\u76ee\u76ee\u5f55&gt;  # \u8fdb\u5165\u9879\u76ee\u6587\u4ef6\u5939<\/p>\n<\/li>\n<li>\n<p>\u6216\u4e0a\u4f20\u672c\u5730\u9879\u76ee<br \/>\n\u901a\u8fc7scp\u6216 FTP \u5de5\u5177\u5c06\u672c\u5730 Vue \u9879\u76ee\u6587\u4ef6\u5939\u4e0a\u4f20\u5230 Linux \u670d\u52a1\u5668&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>scp -r \/\u672c\u5730\u9879\u76ee\u8def\u5f84 user&#064;\u670d\u52a1\u5668IP:\/\u76ee\u6807\u8def\u5f84<br \/>\ncd \/\u76ee\u6807\u8def\u5f84\/\u9879\u76ee\u6587\u4ef6\u5939<\/p>\n<\/li>\n<h4>\u4e09\u3001\u5b89\u88c5\u9879\u76ee\u4f9d\u8d56<\/h4>\n<p>\u8fdb\u5165\u9879\u76ee\u76ee\u5f55\u540e&#xff0c;\u5b89\u88c5package.json\u4e2d\u5b9a\u4e49\u7684\u4f9d\u8d56&#xff1a;<\/p>\n<p># \u5b89\u88c5\u4f9d\u8d56&#xff08;\u4f7f\u7528npm&#xff09;<br \/>\nnpm install<\/p>\n<p># \u82e5\u4f9d\u8d56\u5b89\u88c5\u7f13\u6162&#xff0c;\u53ef\u5207\u6362\u6dd8\u5b9d\u955c\u50cf<br \/>\nnpm config set registry https:\/\/registry.npm.taobao.org<br \/>\nnpm install<\/p>\n<ul>\n<li>\u82e5\u51fa\u73b0\u4f9d\u8d56\u51b2\u7a81&#xff08;\u5982peer dependency\u9519\u8bef&#xff09;&#xff0c;\u53ef\u5c1d\u8bd5&#xff1a;\n<p>npm install &#8211;force  # \u5f3a\u5236\u5b89\u88c5&#xff08;\u8c28\u614e\u4f7f\u7528&#xff0c;\u53ef\u80fd\u5f15\u53d1\u517c\u5bb9\u6027\u95ee\u9898&#xff09;<br \/>\n# \u6216\u4f7f\u7528yarn&#xff08;\u9700\u5148\u5b89\u88c5yarn&#xff1a;npm install -g yarn&#xff09;<br \/>\nyarn install<\/p>\n<\/li>\n<\/ul>\n<h4>\u56db\u3001\u8fd0\u884c Vue \u9879\u76ee<\/h4>\n<p>\u6839\u636e\u9879\u76ee\u914d\u7f6e&#xff0c;\u9009\u62e9\u4ee5\u4e0b\u65b9\u5f0f\u542f\u52a8&#xff1a;<\/p>\n<h5>1. \u5f00\u53d1\u73af\u5883\u8fd0\u884c&#xff08;npm run serve&#xff09;<\/h5>\n<p>\u9002\u5408\u5f00\u53d1\u9636\u6bb5&#xff0c;\u542f\u52a8\u5e26\u70ed\u66f4\u65b0\u7684\u5f00\u53d1\u670d\u52a1\u5668&#xff1a;<\/p>\n<p># \u542f\u52a8\u5f00\u53d1\u670d\u52a1&#xff08;\u9ed8\u8ba4\u7aef\u53e38080&#xff09;<br \/>\nnpm run serve<\/p>\n<ul>\n<li>\u8f93\u51fa\u7c7b\u4f3c&#xff1a;App running at: http:\/\/localhost:8080\/<\/li>\n<li>\u82e5\u9700\u5916\u90e8\u8bbf\u95ee&#xff08;\u5982\u4ece\u672c\u5730\u6d4f\u89c8\u5668\u8bbf\u95ee\u670d\u52a1\u5668\u4e0a\u7684\u9879\u76ee&#xff09;&#xff0c;\u9700\u4fee\u6539vue.config.js\u914d\u7f6e\u5141\u8bb8\u8de8\u57df\u548c\u6307\u5b9a\u4e3b\u673a&#xff1a;\n<p>\/\/ \u5728\u9879\u76ee\u6839\u76ee\u5f55\u7684vue.config.js\u4e2d\u6dfb\u52a0<br \/>\nmodule.exports &#061; {<br \/>\n  devServer: {<br \/>\n    host: &#039;0.0.0.0&#039;,  \/\/ \u5141\u8bb8\u6240\u6709IP\u8bbf\u95ee<br \/>\n    port: 8080,       \/\/ \u7aef\u53e3&#xff08;\u53ef\u81ea\u5b9a\u4e49&#xff09;<br \/>\n    disableHostCheck: true  \/\/ \u5173\u95ed\u4e3b\u673a\u68c0\u67e5&#xff08;\u907f\u514d\u8de8\u57df\u95ee\u9898&#xff09;<br \/>\n  }<br \/>\n}<\/p>\n<p>\u91cd\u542f\u670d\u52a1\u540e&#xff0c;\u901a\u8fc7\u670d\u52a1\u5668IP:8080\u8bbf\u95ee\u3002<\/li>\n<\/ul>\n<h5>2. \u751f\u4ea7\u73af\u5883\u90e8\u7f72&#xff08;\u6784\u5efa &#043; \u9759\u6001\u670d\u52a1&#xff09;<\/h5>\n<p>\u9002\u5408\u6b63\u5f0f\u4e0a\u7ebf&#xff0c;\u5148\u6784\u5efa\u9759\u6001\u6587\u4ef6&#xff0c;\u518d\u7528 Web \u670d\u52a1\u5668&#xff08;\u5982 Nginx&#xff09;\u8fd0\u884c&#xff1a;<\/p>\n<h6>\u6b65\u9aa4 1&#xff1a;\u6784\u5efa\u9759\u6001\u6587\u4ef6<\/h6>\n<p># \u751f\u6210dist\u6587\u4ef6\u5939&#xff08;\u5305\u542bHTML\/CSS\/JS\u7b49\u9759\u6001\u8d44\u6e90&#xff09;<br \/>\nnpm run build<\/p>\n<p>\u6784\u5efa\u6210\u529f\u540e&#xff0c;\u9879\u76ee\u6839\u76ee\u5f55\u4f1a\u751f\u6210dist\u6587\u4ef6\u5939\u3002<\/p>\n<h6>\u6b65\u9aa4 2&#xff1a;\u7528 Nginx \u90e8\u7f72\u9759\u6001\u6587\u4ef6<\/h6>\n<li>\n<p>\u5b89\u88c5 Nginx&#xff1a;<\/p>\n<p>sudo dnf install -y nginx<br \/>\nsudo systemctl start nginx<br \/>\nsudo systemctl enable nginx  # \u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e Nginx&#xff1a;<\/p>\n<p># \u521b\u5efa\u9879\u76ee\u914d\u7f6e\u6587\u4ef6<br \/>\nsudo vi \/etc\/nginx\/conf.d\/vue-project.conf<\/p>\n<p>\u00a0<\/p>\n<p>\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff08;\u66ff\u6362\/path\/to\/your\/project\/dist\u4e3a\u5b9e\u9645dist\u6587\u4ef6\u5939\u8def\u5f84&#xff09;&#xff1a;<\/p>\n<p>server {<br \/>\n    listen 80;  # \u8bbf\u95ee\u7aef\u53e3<br \/>\n    server_name localhost;  # \u670d\u52a1\u5668IP\u6216\u57df\u540d<\/p>\n<p>    root \/path\/to\/your\/project\/dist;  # \u9759\u6001\u6587\u4ef6\u76ee\u5f55<br \/>\n    index index.html;<\/p>\n<p>    # \u5904\u7406Vue\u8def\u7531&#xff08;\u907f\u514d\u5237\u65b0404&#xff09;<br \/>\n    location \/ {<br \/>\n        try_files $uri $uri\/ \/index.html;<br \/>\n    }<br \/>\n}<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u914d\u7f6e\u5e76\u91cd\u542f Nginx&#xff1a;<\/p>\n<p>sudo nginx -t  # \u68c0\u67e5\u914d\u7f6e\u662f\u5426\u6709\u8bef<br \/>\nsudo systemctl restart nginx<\/p>\n<\/li>\n<li>\n<p>\u8bbf\u95ee\u9879\u76ee&#xff1a;<br \/>\n\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u670d\u52a1\u5668IP&#xff08;\u6216\u914d\u7f6e\u7684\u57df\u540d&#xff09;&#xff0c;\u5373\u53ef\u8bbf\u95ee\u751f\u4ea7\u73af\u5883\u7684 Vue \u9879\u76ee\u3002<\/p>\n<\/li>\n<h4>\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u89e3\u51b3<\/h4>\n<li>\n<p>\u7aef\u53e3\u88ab\u5360\u7528&#xff1a;<br \/>\n\u5f00\u53d1\u73af\u5883\u542f\u52a8\u65f6\u82e5\u63d0\u793aEADDRINUSE: address already in use :::8080&#xff0c;\u9700\u91ca\u653e\u7aef\u53e3&#xff1a;<\/p>\n<p># \u67e5\u627e\u5360\u75288080\u7aef\u53e3\u7684\u8fdb\u7a0b<br \/>\nnetstat -tuln | grep 8080<br \/>\n# \u6740\u6b7b\u8fdb\u7a0b&#xff08;\u66ff\u6362PID&#xff09;<br \/>\nkill -9 &lt;PID&gt;<\/p>\n<\/li>\n<li>\n<p>\u6743\u9650\u95ee\u9898&#xff1a;<br \/>\n\u5b89\u88c5\u4f9d\u8d56\u65f6\u82e5\u63d0\u793aPermission denied&#xff0c;\u907f\u514d\u4f7f\u7528root\u7528\u6237&#xff0c;\u6216\u6dfb\u52a0&#8211;unsafe-perm&#xff1a;<\/p>\n<p>npm install &#8211;unsafe-perm<\/p>\n<\/li>\n<li>\n<p>\u9632\u706b\u5899\u963b\u65ad\u7aef\u53e3&#xff1a;<br \/>\n\u82e5\u65e0\u6cd5\u8bbf\u95ee 8080 \u6216 80 \u7aef\u53e3&#xff0c;\u5f00\u653e\u7aef\u53e3&#xff1a;<\/p>\n<p># \u5f00\u653e8080\u7aef\u53e3&#xff08;\u5f00\u53d1\u73af\u5883&#xff09;<br \/>\nsudo firewall-cmd &#8211;add-port&#061;8080\/tcp &#8211;permanent<br \/>\n# \u5f00\u653e80\u7aef\u53e3&#xff08;\u751f\u4ea7\u73af\u5883Nginx&#xff09;<br \/>\nsudo firewall-cmd &#8211;add-port&#061;80\/tcp &#8211;permanent<br \/>\n# \u5237\u65b0\u914d\u7f6e<br \/>\nsudo firewall-cmd &#8211;reload<\/p>\n<\/li>\n<h4>\u603b\u7ed3<\/h4>\n<ul>\n<li>\u5f00\u53d1\u73af\u5883&#xff1a;npm run serve&#xff08;\u9700 Node.js&#xff0c;\u9002\u5408\u8c03\u8bd5&#xff09;&#xff1b;<\/li>\n<li>\u751f\u4ea7\u73af\u5883&#xff1a;npm run build\u00a0&#043; Nginx \u90e8\u7f72&#xff08;\u6027\u80fd\u66f4\u597d&#xff0c;\u9002\u5408\u6b63\u5f0f\u4e0a\u7ebf&#xff09;\u3002<br \/>\n\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u65b9\u5f0f&#xff0c;\u786e\u4fdd Node.js \u7248\u672c\u4e0e\u9879\u76ee\u4f9d\u8d56\u517c\u5bb9&#xff08;\u53ef\u5728package.json\u4e2d\u67e5\u770bengines\u5b57\u6bb5&#xff09;\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb12\u6b21\u3002\uff08\u9700 Node.js\uff0c\u9002\u5408\u8c03\u8bd5\uff09\uff1b+ Nginx \u90e8\u7f72\uff08\u6027\u80fd\u66f4\u597d\uff0c\u9002\u5408\u6b63\u5f0f\u4e0a\u7ebf\uff09\u3002\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u65b9\u5f0f\uff0c\u786e\u4fdd Node.js \u7248\u672c\u4e0e\u9879\u76ee\u4f9d\u8d56\u517c\u5bb9\uff08\u53ef\u5728\u4e2d\u67e5\u770bengines\u5b57\u6bb5\uff09\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[247,1276,58,625,50,5313],"topic":[],"class_list":{"0":"post-58853","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-server","7":"tag-ai","9":"tag-linux","10":"tag-vue-js","11":"tag-50","12":"tag-openeuler"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/58853.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb12\u6b21\u3002\uff08\u9700 Node.js\uff0c\u9002\u5408\u8c03\u8bd5\uff09\uff1b+ Nginx \u90e8\u7f72\uff08\u6027\u80fd\u66f4\u597d\uff0c\u9002\u5408\u6b63\u5f0f\u4e0a\u7ebf\uff09\u3002\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u65b9\u5f0f\uff0c\u786e\u4fdd Node.js \u7248\u672c\u4e0e\u9879\u76ee\u4f9d\u8d56\u517c\u5bb9\uff08\u53ef\u5728\u4e2d\u67e5\u770bengines\u5b57\u6bb5\uff09\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/58853.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-16T09:00:39+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/58853.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/58853.html\",\"name\":\"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-16T09:00:39+00:00\",\"dateModified\":\"2025-08-16T09:00:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/58853.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/58853.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/58853.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/58853.html","og_locale":"zh_CN","og_type":"article","og_title":"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb12\u6b21\u3002\uff08\u9700 Node.js\uff0c\u9002\u5408\u8c03\u8bd5\uff09\uff1b+ Nginx \u90e8\u7f72\uff08\u6027\u80fd\u66f4\u597d\uff0c\u9002\u5408\u6b63\u5f0f\u4e0a\u7ebf\uff09\u3002\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u65b9\u5f0f\uff0c\u786e\u4fdd Node.js \u7248\u672c\u4e0e\u9879\u76ee\u4f9d\u8d56\u517c\u5bb9\uff08\u53ef\u5728\u4e2d\u67e5\u770bengines\u5b57\u6bb5\uff09\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/58853.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-16T09:00:39+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/58853.html","url":"https:\/\/www.wsisp.com\/helps\/58853.html","name":"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-16T09:00:39+00:00","dateModified":"2025-08-16T09:00:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/58853.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/58853.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/58853.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"OpenEuler \u7b49 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c Vue \u9879\u76ee\u7684\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/58853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=58853"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/58853\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=58853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=58853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=58853"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=58853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}