{"id":25993,"date":"2024-11-24T10:54:54","date_gmt":"2024-11-24T02:54:54","guid":{"rendered":"https:\/\/fwq.ai\/blog\/25993\/"},"modified":"2024-11-24T10:54:54","modified_gmt":"2024-11-24T02:54:54","slug":"nuxt-%e7%a7%bb%e5%8a%a8%e7%ab%af%e9%a1%b9%e7%9b%ae%e4%b8%ad-rem-%e8%ae%a1%e7%ae%97%e5%af%bc%e8%87%b4-css-%e5%8f%98%e5%bd%a2%ef%bc%8c%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/25993\/","title":{"rendered":"Nuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d rem \u8ba1\u7b97\u5bfc\u81f4 CSS \u53d8\u5f62\uff0c\u5982\u4f55\u89e3\u51b3\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173077129321943.jpg\" class=\"aligncenter\" title=\"Nuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d rem \u8ba1\u7b97\u5bfc\u81f4 CSS \u53d8\u5f62\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u63d2\u56fe\" alt=\"Nuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d rem \u8ba1\u7b97\u5bfc\u81f4 CSS \u53d8\u5f62\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>Nuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d\u89e3\u51b3 rem \u8ba1\u7b97\u5bfc\u81f4 CSS \u53d8\u5f62<\/strong><\/p>\n<p>\u5728 Nuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d\u4f7f\u7528 rem \u8ba1\u7b97\u6839\u8282\u70b9\u5b57\u4f53\u5927\u5c0f\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e2a\u95ee\u9898\uff1a\u9875\u9762\u5185\u5bb9\u5728\u5b57\u4f53\u5927\u5c0f\u53d1\u751f\u53d8\u5316\u65f6\u4f1a\uff0c\u5bfc\u81f4 CSS \u53d8\u5f62\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848\uff1a<\/strong><\/p>\n<p>\u53ef\u5c06\u8ba1\u7b97\u6839\u8282\u70b9\u5b57\u4f53\u5927\u5c0f\u7684 JS \u4ee3\u7801\u5757\u7f6e\u4e8e\u9875\u9762\u6700\u524d\u7aef\u7684 <\/p>\n<p> \u6807\u7b7e\u5185\uff0c\u786e\u4fdd\u5728\u5176\u4ed6\u8d44\u6e90\u52a0\u8f7d\u4e4b\u524d\u6267\u884c\u3002 <\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p><strong>\u53c2\u8003\uff1a<\/strong><\/p>\n<p>amfe\/lib-flexible\uff08GitHub\uff09\uff1ahttps:\/\/hub.com\/amfe\/lib-flexible\/blob\/master\/README_ZH.md<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fNuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d rem \u8ba1\u7b97\u5bfc\u81f4 CSS \u53d8\u5f62\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d\u89e3\u51b3 rem \u8ba1\u7b97\u5bfc\u81f4 CSS \u53d8\u5f62 \u5728 Nuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d\u4f7f\u7528 rem \u8ba1\u7b97\u6839\u8282\u70b9\u5b57\u4f53\u5927\u5c0f\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e2a\u95ee\u9898\uff1a\u9875\u9762\u5185\u5bb9\u5728\u5b57\u4f53\u5927\u5c0f\u53d1\u751f\u53d8\u5316\u65f6\u4f1a\uff0c\u5bfc\u81f4 CSS \u53d8\u5f62\u3002 \u89e3\u51b3\u65b9\u6848\uff1a \u53ef\u5c06\u8ba1\u7b97\u6839\u8282\u70b9\u5b57\u4f53\u5927\u5c0f\u7684 JS \u4ee3\u7801\u5757\u7f6e\u4e8e\u9875\u9762\u6700\u524d\u7aef\u7684 \u6807\u7b7e\u5185\uff0c\u786e\u4fdd\u5728\u5176\u4ed6\u8d44\u6e90\u52a0\u8f7d\u4e4b\u524d\u6267\u884c\u3002 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u53c2\u8003\uff1a amfe\/lib-flexible\uff08GitHub\uff09\uff1ahttps:\/\/hub.com\/amfe\/lib-flexible\/blob\/master\/README_ZH.md \u4ee5\u4e0a\u5c31\u662fNuxt \u79fb\u52a8\u7aef\u9879\u76ee\u4e2d rem \u8ba1\u7b97\u5bfc\u81f4 CSS \u53d8\u5f62\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-25993","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=25993"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25993\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=25993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=25993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=25993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}