index.html 56 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997
  1. <!doctype html>
  2. <html lang="zh" class="no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <meta name="author" content="Wcowin">
  7. <link rel="canonical" href="http://wcowin.work/Mkdocs-Wcowin/develop/lighthouse/">
  8. <link rel="prev" href="../git/">
  9. <link rel="next" href="../vercel/">
  10. <link rel="icon" href="../../img/apple-line.png">
  11. <meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.2">
  12. <title>利用Lighthouse测试网站性能 - Mkdocs-Wcowin中文主题</title>
  13. <link rel="stylesheet" href="../../assets/stylesheets/main.d451bc0e.min.css">
  14. <link rel="stylesheet" href="../../assets/stylesheets/palette.a5377069.min.css">
  15. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  16. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
  17. <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
  18. <link rel="stylesheet" href="../../stylesheets/extra.css">
  19. <link rel="stylesheet" href="../../stylesheets/link.css">
  20. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.css">
  21. <link rel="stylesheet" href="../../ckplayer/css/ckplayer.css">
  22. <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
  23. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.1.0/style.css">
  24. <script>__md_scope=new URL("../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
  25. <script id="__analytics">function __md_analytics(){function n(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],n("js",new Date),n("config",""),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){this.value&&n("event","search",{search_term:this.value})}),document$.subscribe(function(){var a=document.forms.feedback;if(void 0!==a)for(var e of a.querySelectorAll("[type=submit]"))e.addEventListener("click",function(e){e.preventDefault();var t=document.location.pathname,e=this.getAttribute("data-md-value");n("event","feedback",{page:t,data:e}),a.firstElementChild.disabled=!0;e=a.querySelector(".md-feedback__note [data-md-value='"+e+"']");e&&(e.hidden=!1)}),a.hidden=!1}),location$.subscribe(function(e){n("config","",{page_path:e.pathname})})});var e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id=",document.getElementById("__analytics").insertAdjacentElement("afterEnd",e)}</script>
  26. <script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
  27. <link rel="stylesheet" href="../../assets/stylesheets/custom.00c04c01.min.css">
  28. </head>
  29. <body dir="ltr" data-md-color-scheme="default" data-md-color-primary="blue-grey" data-md-color-accent="indigo">
  30. <script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
  31. <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
  32. <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
  33. <label class="md-overlay" for="__drawer"></label>
  34. <div data-md-component="skip">
  35. </div>
  36. <div data-md-component="announce">
  37. <aside class="md-banner">
  38. <div class="md-banner__inner md-grid md-typeset">
  39. <button class="md-banner__button md-icon" aria-label="不再显示此消息">
  40. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
  41. </button>
  42. Follow <strong>@Wcowin</strong> on
  43. <a rel="me" href="https://space.bilibili.com/1407028951?spm_id_from=333.1007.0.0">
  44. <span class="twemoji bilibili">
  45. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M488.6 104.1c16.7 18.1 24.4 39.7 23.3 65.7v202.4c-.4 26.4-9.2 48.1-26.5 65.1-17.2 17-39.1 25.9-65.5 26.7H92.02c-26.45-.8-48.21-9.8-65.28-27.2C9.682 419.4.767 396.5 0 368.2V169.8c.767-26 9.682-47.6 26.74-65.7C43.81 87.75 65.57 78.77 92.02 78h29.38L96.05 52.19c-5.75-5.73-8.63-13-8.63-21.79 0-8.8 2.88-16.06 8.63-21.797C101.8 2.868 109.1 0 117.9 0s16.1 2.868 21.9 8.603L213.1 78h88l74.5-69.397C381.7 2.868 389.2 0 398 0c8.8 0 16.1 2.868 21.9 8.603 5.7 5.737 8.6 12.997 8.6 21.797 0 8.79-2.9 16.06-8.6 21.79L394.6 78h29.3c26.4.77 48 9.75 64.7 26.1zm-38.8 69.7c-.4-9.6-3.7-17.4-10.7-23.5-5.2-6.1-14-9.4-22.7-9.8H96.05c-9.59.4-17.45 3.7-23.58 9.8-6.14 6.1-9.4 13.9-9.78 23.5v194.4c0 9.2 3.26 17 9.78 23.5s14.38 9.8 23.58 9.8H416.4c9.2 0 17-3.3 23.3-9.8 6.3-6.5 9.7-14.3 10.1-23.5V173.8zm-264.3 42.7c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.2 6.3-14 9.5-23.6 9.5-9.6 0-17.5-3.2-23.6-9.5-6.1-6.3-9.4-14-9.8-23.2v-33.3c.4-9.1 3.8-16.9 10.1-23.2 6.3-6.3 13.2-9.6 23.3-10 9.2.4 17 3.7 23.3 10zm191.5 0c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.1 6.3-14 9.5-23.6 9.5-9.6 0-17.4-3.2-23.6-9.5-7-6.3-9.4-14-9.7-23.2v-33.3c.3-9.1 3.7-16.9 10-23.2 6.3-6.3 14.1-9.6 23.3-10 9.2.4 17 3.7 23.3 10z"/></svg>
  46. </span>
  47. <strong>Bilibili</strong>
  48. </a>
  49. and
  50. <a href="https://twitter.com/Wcowin_">
  51. <span class="twemoji twitter">
  52. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
  53. </span>
  54. <strong>Twitter</strong>
  55. </a>
  56. </div>
  57. <script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
  58. </aside>
  59. </div>
  60. <header class="md-header" data-md-component="header">
  61. <nav class="md-header__inner md-grid" aria-label="页眉">
  62. <a href="../.." title="Mkdocs-Wcowin中文主题" class="md-header__button md-logo" aria-label="Mkdocs-Wcowin中文主题" data-md-component="logo">
  63. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
  64. </a>
  65. <label class="md-header__button md-icon" for="__drawer">
  66. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
  67. </label>
  68. <div class="md-header__title" data-md-component="header-title">
  69. <div class="md-header__ellipsis">
  70. <div class="md-header__topic">
  71. <span class="md-ellipsis">
  72. Mkdocs-Wcowin中文主题
  73. </span>
  74. </div>
  75. <div class="md-header__topic" data-md-component="header-topic">
  76. <span class="md-ellipsis">
  77. 利用Lighthouse测试网站性能
  78. </span>
  79. </div>
  80. </div>
  81. </div>
  82. <form class="md-header__option" data-md-component="palette">
  83. <input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="blue-grey" data-md-color-accent="indigo" aria-label="切换至夜间模式" type="radio" name="__palette" id="__palette_1">
  84. <label class="md-header__button md-icon" title="切换至夜间模式" for="__palette_2" hidden>
  85. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m17.75 4.09-2.53 1.94.91 3.06-2.63-1.81-2.63 1.81.91-3.06-2.53-1.94L12.44 4l1.06-3 1.06 3 3.19.09m3.5 6.91-1.64 1.25.59 1.98-1.7-1.17-1.7 1.17.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95 2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14.4-.4.82-.76 1.27-1.08.75-.53 1.93.36 1.85 1.19-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82-2.81 3.14-2.7 7.96.31 10.98 3.02 3.01 7.84 3.12 10.98.31Z"/></svg>
  86. </label>
  87. <input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="black" data-md-color-accent="indigo" aria-label="切换至日间模式" type="radio" name="__palette" id="__palette_2">
  88. <label class="md-header__button md-icon" title="切换至日间模式" for="__palette_1" hidden>
  89. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0-7 2.39 3.42C13.65 5.15 12.84 5 12 5c-.84 0-1.65.15-2.39.42L12 2M3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29L3.34 7m.02 10 1.76-3.77a7.131 7.131 0 0 0 2.38 4.14L3.36 17M20.65 7l-1.77 3.79a7.023 7.023 0 0 0-2.38-4.15l4.15.36m-.01 10-4.14.36c.59-.51 1.12-1.14 1.54-1.86.42-.73.69-1.5.83-2.29L20.64 17M12 22l-2.41-3.44c.74.27 1.55.44 2.41.44.82 0 1.63-.17 2.37-.44L12 22Z"/></svg>
  90. </label>
  91. </form>
  92. <label class="md-header__button md-icon" for="__search">
  93. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
  94. </label>
  95. <div class="md-search" data-md-component="search" role="dialog">
  96. <label class="md-search__overlay" for="__search"></label>
  97. <div class="md-search__inner" role="search">
  98. <form class="md-search__form" name="search">
  99. <input type="text" class="md-search__input" name="query" aria-label="搜索" placeholder="搜索" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
  100. <label class="md-search__icon md-icon" for="__search">
  101. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
  102. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
  103. </label>
  104. <nav class="md-search__options" aria-label="查找">
  105. <a href="javascript:void(0)" class="md-search__icon md-icon" title="分享" aria-label="分享" data-clipboard data-clipboard-text="" data-md-component="search-share" tabindex="-1">
  106. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7 0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66 0 1.61 1.31 2.91 2.92 2.91 1.61 0 2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08Z"/></svg>
  107. </a>
  108. <button type="reset" class="md-search__icon md-icon" title="清空当前内容" aria-label="清空当前内容" tabindex="-1">
  109. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
  110. </button>
  111. </nav>
  112. <div class="md-search__suggest" data-md-component="search-suggest"></div>
  113. </form>
  114. <div class="md-search__output">
  115. <div class="md-search__scrollwrap" data-md-scrollfix>
  116. <div class="md-search-result" data-md-component="search-result">
  117. <div class="md-search-result__meta">
  118. 正在初始化搜索引擎
  119. </div>
  120. <ol class="md-search-result__list" role="presentation"></ol>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. <div class="md-header__source">
  127. <a href="https://github.com/Wcowin/Mkdocs-Wcowin" title="前往仓库" class="md-source" data-md-component="source">
  128. <div class="md-source__icon md-icon">
  129. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
  130. </div>
  131. <div class="md-source__repository">
  132. Mkdocs-Wcowin
  133. </div>
  134. </a>
  135. </div>
  136. </nav>
  137. </header>
  138. <div class="md-container" data-md-component="container">
  139. <nav class="md-tabs" aria-label="标签" data-md-component="tabs">
  140. <div class="md-grid">
  141. <ul class="md-tabs__list">
  142. <li class="md-tabs__item">
  143. <a href="../../blog/Mkdocs/mkdocs1/" class="md-tabs__link">
  144. MKdocs中文教程
  145. </a>
  146. </li>
  147. <li class="md-tabs__item md-tabs__item--active">
  148. <a href="../Markdown/markdown/" class="md-tabs__link">
  149. 建设MKdocs技能指北
  150. </a>
  151. </li>
  152. <li class="md-tabs__item">
  153. <a href="../../tag/" class="md-tabs__link">
  154. 标签
  155. </a>
  156. </li>
  157. <li class="md-tabs__item">
  158. <a href="../../liuyanban/" class="md-tabs__link">
  159. 留言板
  160. </a>
  161. </li>
  162. <li class="md-tabs__item">
  163. <a href="../../blog/" class="md-tabs__link">
  164. Blogger
  165. </a>
  166. </li>
  167. <li class="md-tabs__item">
  168. <a href="../../about/link/" class="md-tabs__link">
  169. 友链
  170. </a>
  171. </li>
  172. <li class="md-tabs__item">
  173. <a href="../../about/geren/" class="md-tabs__link">
  174. 关于
  175. </a>
  176. </li>
  177. </ul>
  178. </div>
  179. </nav>
  180. <main class="md-main" data-md-component="main">
  181. <div class="md-main__inner md-grid">
  182. <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
  183. <div class="md-sidebar__scrollwrap">
  184. <div class="md-sidebar__inner">
  185. <nav class="md-nav md-nav--primary md-nav--lifted" aria-label="导航栏" data-md-level="0">
  186. <label class="md-nav__title" for="__drawer">
  187. <a href="../.." title="Mkdocs-Wcowin中文主题" class="md-nav__button md-logo" aria-label="Mkdocs-Wcowin中文主题" data-md-component="logo">
  188. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
  189. </a>
  190. Mkdocs-Wcowin中文主题
  191. </label>
  192. <div class="md-nav__source">
  193. <a href="https://github.com/Wcowin/Mkdocs-Wcowin" title="前往仓库" class="md-source" data-md-component="source">
  194. <div class="md-source__icon md-icon">
  195. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
  196. </div>
  197. <div class="md-source__repository">
  198. Mkdocs-Wcowin
  199. </div>
  200. </a>
  201. </div>
  202. <ul class="md-nav__list" data-md-scrollfix>
  203. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  204. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_1" >
  205. <label class="md-nav__link" for="__nav_1" id="__nav_1_label" tabindex="">
  206. <span class="md-ellipsis">
  207. MKdocs中文教程
  208. </span>
  209. <span class="md-nav__icon md-icon"></span>
  210. </label>
  211. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
  212. <label class="md-nav__title" for="__nav_1">
  213. <span class="md-nav__icon md-icon"></span>
  214. MKdocs中文教程
  215. </label>
  216. <ul class="md-nav__list" data-md-scrollfix>
  217. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  218. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_1_1" >
  219. <label class="md-nav__link" for="__nav_1_1" id="__nav_1_1_label" tabindex="">
  220. <span class="md-ellipsis">
  221. MKdocs教程
  222. </span>
  223. <span class="md-nav__icon md-icon"></span>
  224. </label>
  225. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_1_1_label" aria-expanded="false">
  226. <label class="md-nav__title" for="__nav_1_1">
  227. <span class="md-nav__icon md-icon"></span>
  228. MKdocs教程
  229. </label>
  230. <ul class="md-nav__list" data-md-scrollfix>
  231. <li class="md-nav__item">
  232. <a href="../../blog/Mkdocs/mkdocs1/" class="md-nav__link">
  233. <span class="md-ellipsis">
  234. 利用mkdocs部署静态网页至GitHub pages
  235. </span>
  236. </a>
  237. </li>
  238. <li class="md-nav__item">
  239. <a href="../../blog/Mkdocs/mkdocs2/" class="md-nav__link">
  240. <span class="md-ellipsis">
  241. Mkdocs部署静态网页至GitHub pages配置说明(mkdocs.yml)
  242. </span>
  243. </a>
  244. </li>
  245. <li class="md-nav__item">
  246. <a href="../../blog/Mkdocs/mkdocs3/" class="md-nav__link">
  247. <span class="md-ellipsis">
  248. 解决 mkdocs部署 Github Pages 自定义域名失效的问题
  249. </span>
  250. </a>
  251. </li>
  252. <li class="md-nav__item">
  253. <a href="../../blog/Mkdocs/mkdocsblog/" class="md-nav__link">
  254. <span class="md-ellipsis">
  255. 网站添加Mkdocs博客
  256. </span>
  257. </a>
  258. </li>
  259. </ul>
  260. </nav>
  261. </li>
  262. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  263. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_1_2" >
  264. <label class="md-nav__link" for="__nav_1_2" id="__nav_1_2_label" tabindex="">
  265. <span class="md-ellipsis">
  266. Mkdocs美化
  267. </span>
  268. <span class="md-nav__icon md-icon"></span>
  269. </label>
  270. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_1_2_label" aria-expanded="false">
  271. <label class="md-nav__title" for="__nav_1_2">
  272. <span class="md-nav__icon md-icon"></span>
  273. Mkdocs美化
  274. </label>
  275. <ul class="md-nav__list" data-md-scrollfix>
  276. <li class="md-nav__item">
  277. <a href="../../blog/websitebeauty/mkcomments/" class="md-nav__link">
  278. <span class="md-ellipsis">
  279. 添加评论系统(giscus为例)
  280. </span>
  281. </a>
  282. </li>
  283. <li class="md-nav__item">
  284. <a href="../../blog/websitebeauty/webtalknow/" class="md-nav__link">
  285. <span class="md-ellipsis">
  286. 添加在线聊天
  287. </span>
  288. </a>
  289. </li>
  290. <li class="md-nav__item">
  291. <a href="../../blog/websitebeauty/linktech/" class="md-nav__link">
  292. <span class="md-ellipsis">
  293. 添加友链
  294. </span>
  295. </a>
  296. </li>
  297. <li class="md-nav__item">
  298. <a href="../../blog/websitebeauty/mkdocsfont/" class="md-nav__link">
  299. <span class="md-ellipsis">
  300. 修改网站字体
  301. </span>
  302. </a>
  303. </li>
  304. <li class="md-nav__item">
  305. <a href="../../blog/websitebeauty/shubiao/" class="md-nav__link">
  306. <span class="md-ellipsis">
  307. JS实现鼠标样式
  308. </span>
  309. </a>
  310. </li>
  311. <li class="md-nav__item">
  312. <a href="../../blog/websitebeauty/backgroud/" class="md-nav__link">
  313. <span class="md-ellipsis">
  314. 背景特效
  315. </span>
  316. </a>
  317. </li>
  318. </ul>
  319. </nav>
  320. </li>
  321. </ul>
  322. </nav>
  323. </li>
  324. <li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
  325. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" checked>
  326. <label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="">
  327. <span class="md-ellipsis">
  328. 建设MKdocs技能指北
  329. </span>
  330. <span class="md-nav__icon md-icon"></span>
  331. </label>
  332. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
  333. <label class="md-nav__title" for="__nav_2">
  334. <span class="md-nav__icon md-icon"></span>
  335. 建设MKdocs技能指北
  336. </label>
  337. <ul class="md-nav__list" data-md-scrollfix>
  338. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  339. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_2_1" >
  340. <label class="md-nav__link" for="__nav_2_1" id="__nav_2_1_label" tabindex="">
  341. <span class="md-ellipsis">
  342. Markdown
  343. </span>
  344. <span class="md-nav__icon md-icon"></span>
  345. </label>
  346. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_1_label" aria-expanded="false">
  347. <label class="md-nav__title" for="__nav_2_1">
  348. <span class="md-nav__icon md-icon"></span>
  349. Markdown
  350. </label>
  351. <ul class="md-nav__list" data-md-scrollfix>
  352. <li class="md-nav__item">
  353. <a href="../Markdown/markdown/" class="md-nav__link">
  354. <span class="md-ellipsis">
  355. Markdown指南
  356. </span>
  357. </a>
  358. </li>
  359. <li class="md-nav__item">
  360. <a href="../Markdown/MWeb/" class="md-nav__link">
  361. <span class="md-ellipsis">
  362. MWeb Pro
  363. </span>
  364. </a>
  365. </li>
  366. </ul>
  367. </nav>
  368. </li>
  369. <li class="md-nav__item">
  370. <a href="../git/" class="md-nav__link">
  371. <span class="md-ellipsis">
  372. Git 实用技巧
  373. </span>
  374. </a>
  375. </li>
  376. <li class="md-nav__item md-nav__item--active">
  377. <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
  378. <a href="./" class="md-nav__link md-nav__link--active">
  379. <span class="md-ellipsis">
  380. 利用Lighthouse测试网站性能
  381. </span>
  382. </a>
  383. </li>
  384. <li class="md-nav__item">
  385. <a href="../vercel/" class="md-nav__link">
  386. <span class="md-ellipsis">
  387. 如何将 github pages 迁移到 vercel 上托管
  388. </span>
  389. </a>
  390. </li>
  391. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  392. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_2_5" >
  393. <label class="md-nav__link" for="__nav_2_5" id="__nav_2_5_label" tabindex="">
  394. <span class="md-ellipsis">
  395. 设计美学
  396. </span>
  397. <span class="md-nav__icon md-icon"></span>
  398. </label>
  399. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_5_label" aria-expanded="false">
  400. <label class="md-nav__title" for="__nav_2_5">
  401. <span class="md-nav__icon md-icon"></span>
  402. 设计美学
  403. </label>
  404. <ul class="md-nav__list" data-md-scrollfix>
  405. <li class="md-nav__item">
  406. <a href="../designbeauty/db1/" class="md-nav__link">
  407. <span class="md-ellipsis">
  408. 唐·诺曼—情感设计的三个层次
  409. </span>
  410. </a>
  411. </li>
  412. <li class="md-nav__item">
  413. <a href="../designbeauty/my-to-desihn/" class="md-nav__link">
  414. <span class="md-ellipsis">
  415. 我对设计的一些观点
  416. </span>
  417. </a>
  418. </li>
  419. </ul>
  420. </nav>
  421. </li>
  422. </ul>
  423. </nav>
  424. </li>
  425. <li class="md-nav__item">
  426. <a href="../../tag/" class="md-nav__link">
  427. <span class="md-ellipsis">
  428. 标签
  429. </span>
  430. </a>
  431. </li>
  432. <li class="md-nav__item">
  433. <a href="../../liuyanban/" class="md-nav__link">
  434. <span class="md-ellipsis">
  435. 留言板
  436. </span>
  437. </a>
  438. </li>
  439. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  440. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5" >
  441. <div class="md-nav__link md-nav__container">
  442. <a href="../../blog/" class="md-nav__link ">
  443. <span class="md-ellipsis">
  444. Blogger
  445. </span>
  446. </a>
  447. <label class="md-nav__link " for="__nav_5" id="__nav_5_label" tabindex="">
  448. <span class="md-nav__icon md-icon"></span>
  449. </label>
  450. </div>
  451. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
  452. <label class="md-nav__title" for="__nav_5">
  453. <span class="md-nav__icon md-icon"></span>
  454. Blogger
  455. </label>
  456. <ul class="md-nav__list" data-md-scrollfix>
  457. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  458. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5_2" >
  459. <label class="md-nav__link" for="__nav_5_2" id="__nav_5_2_label" tabindex="">
  460. <span class="md-ellipsis">
  461. 归档
  462. </span>
  463. <span class="md-nav__icon md-icon"></span>
  464. </label>
  465. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_2_label" aria-expanded="false">
  466. <label class="md-nav__title" for="__nav_5_2">
  467. <span class="md-nav__icon md-icon"></span>
  468. 归档
  469. </label>
  470. <ul class="md-nav__list" data-md-scrollfix>
  471. <li class="md-nav__item">
  472. <a href="../../blog/archive/2023/" class="md-nav__link">
  473. <span class="md-ellipsis">
  474. 2023
  475. </span>
  476. </a>
  477. </li>
  478. </ul>
  479. </nav>
  480. </li>
  481. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  482. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5_3" >
  483. <label class="md-nav__link" for="__nav_5_3" id="__nav_5_3_label" tabindex="">
  484. <span class="md-ellipsis">
  485. 分类
  486. </span>
  487. <span class="md-nav__icon md-icon"></span>
  488. </label>
  489. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_3_label" aria-expanded="false">
  490. <label class="md-nav__title" for="__nav_5_3">
  491. <span class="md-nav__icon md-icon"></span>
  492. 分类
  493. </label>
  494. <ul class="md-nav__list" data-md-scrollfix>
  495. <li class="md-nav__item">
  496. <a href="../../blog/category/%E7%BD%91%E7%AB%99%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95/" class="md-nav__link">
  497. <span class="md-ellipsis">
  498. 网站更新记录
  499. </span>
  500. </a>
  501. </li>
  502. <li class="md-nav__item">
  503. <a href="../../blog/category/hello/" class="md-nav__link">
  504. <span class="md-ellipsis">
  505. Hello
  506. </span>
  507. </a>
  508. </li>
  509. </ul>
  510. </nav>
  511. </li>
  512. </ul>
  513. </nav>
  514. </li>
  515. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  516. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_6" >
  517. <label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="">
  518. <span class="md-ellipsis">
  519. 友链
  520. </span>
  521. <span class="md-nav__icon md-icon"></span>
  522. </label>
  523. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
  524. <label class="md-nav__title" for="__nav_6">
  525. <span class="md-nav__icon md-icon"></span>
  526. 友链
  527. </label>
  528. <ul class="md-nav__list" data-md-scrollfix>
  529. <li class="md-nav__item">
  530. <a href="../../about/link/" class="md-nav__link">
  531. <span class="md-ellipsis">
  532. 友链
  533. </span>
  534. </a>
  535. </li>
  536. </ul>
  537. </nav>
  538. </li>
  539. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  540. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_7" >
  541. <label class="md-nav__link" for="__nav_7" id="__nav_7_label" tabindex="">
  542. <span class="md-ellipsis">
  543. 关于
  544. </span>
  545. <span class="md-nav__icon md-icon"></span>
  546. </label>
  547. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_7_label" aria-expanded="false">
  548. <label class="md-nav__title" for="__nav_7">
  549. <span class="md-nav__icon md-icon"></span>
  550. 关于
  551. </label>
  552. <ul class="md-nav__list" data-md-scrollfix>
  553. <li class="md-nav__item">
  554. <a href="../../about/geren/" class="md-nav__link">
  555. <span class="md-ellipsis">
  556. 作者个人简介
  557. </span>
  558. </a>
  559. </li>
  560. <li class="md-nav__item">
  561. <a href="../../about/test/" class="md-nav__link">
  562. <span class="md-ellipsis">
  563. 功能测试
  564. </span>
  565. </a>
  566. </li>
  567. </ul>
  568. </nav>
  569. </li>
  570. </ul>
  571. </nav>
  572. </div>
  573. </div>
  574. </div>
  575. <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
  576. <div class="md-sidebar__scrollwrap">
  577. <div class="md-sidebar__inner">
  578. <nav class="md-nav md-nav--secondary" aria-label="目录">
  579. </nav>
  580. </div>
  581. </div>
  582. </div>
  583. <div class="md-content" data-md-component="content">
  584. <article class="md-content__inner md-typeset">
  585. <nav class="md-tags" >
  586. <a href="../../tag/#" class="md-tag">技术分享</a>
  587. </nav>
  588. <a href="https://github.com/Wcowin/Mkdocs-Wcowin/edit/main/docs/develop/lighthouse.md" title="编辑此页" class="md-content__button md-icon">
  589. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"/></svg>
  590. </a>
  591. <a href="https://github.com/Wcowin/Mkdocs-Wcowin/raw/main/docs/develop/lighthouse.md" title="查看本页的源代码" class="md-content__button md-icon">
  592. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.15 8.15 0 0 1-1.23-2Z"/></svg>
  593. </a>
  594. <h1>利用Lighthouse测试网站性能</h1>
  595. <p><img alt="img" src="https://cn.mcecy.com/image/20230113/3b9e713ce6d943055da05986fee1d329.png" /></p>
  596. <p>打开谷歌或者Edge浏览器,按F12,在右侧点"➕"找到Lighthouse,点击分析页面载即可 <br />
  597. <img alt="img" src="https://cn.mcecy.com/image/20230113/6cdd1a2bb7f691d4ef540a3ebc58a288.png" />
  598. <img alt="img" src="https://cn.mcecy.com/image/20230113/5c3e45c3e3ec1b07da5cf0046466b8b4.png" /></p>
  599. <!--
  600. Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
  601. Permission is hereby granted, free of charge, to any person obtaining a copy
  602. of this software and associated documentation files (the "Software"), to
  603. deal in the Software without restriction, including without limitation the
  604. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  605. sell copies of the Software, and to permit persons to whom the Software is
  606. furnished to do so, subject to the following conditions:
  607. The above copyright notice and this permission notice shall be included in
  608. all copies or substantial portions of the Software.
  609. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  610. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  611. FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
  612. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  613. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  614. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  615. IN THE SOFTWARE.
  616. -->
  617. <!-- Determine feedback configuration -->
  618. <!-- Determine whether to show feedback -->
  619. <!-- Was this page helpful? -->
  620. <form class="md-feedback" name="feedback" hidden>
  621. <fieldset>
  622. <legend class="md-feedback__title">
  623. 此页面有帮助吗?
  624. </legend>
  625. <div class="md-feedback__inner">
  626. <!-- Feedback ratings -->
  627. <div class="md-feedback__list">
  628. <button
  629. class="md-feedback__icon md-icon"
  630. type="submit"
  631. title="This page was helpful"
  632. data-md-value="1"
  633. >
  634. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 9v12H1V9h4m4 12a2 2 0 0 1-2-2V9c0-.55.22-1.05.59-1.41L14.17 1l1.06 1.06c.27.27.44.64.44 1.05l-.03.32L14.69 8H21a2 2 0 0 1 2 2v2c0 .26-.05.5-.14.73l-3.02 7.05C19.54 20.5 18.83 21 18 21H9m0-2h9.03L21 12v-2h-8.79l1.13-5.32L9 9.03V19Z"/></svg>
  635. </button>
  636. <button
  637. class="md-feedback__icon md-icon"
  638. type="submit"
  639. title="This page could be improved"
  640. data-md-value="0"
  641. >
  642. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 15V3h4v12h-4M15 3a2 2 0 0 1 2 2v10c0 .55-.22 1.05-.59 1.41L9.83 23l-1.06-1.06c-.27-.27-.44-.64-.44-1.06l.03-.31.95-4.57H3a2 2 0 0 1-2-2v-2c0-.26.05-.5.14-.73l3.02-7.05C4.46 3.5 5.17 3 6 3h9m0 2H5.97L3 12v2h8.78l-1.13 5.32L15 14.97V5Z"/></svg>
  643. </button>
  644. </div>
  645. <!-- Feedback rating notes (shown after submission) -->
  646. <div class="md-feedback__note">
  647. <div data-md-value="1" hidden>
  648. <!-- Determine title -->
  649. <!-- Replace {url} and {title} placeholders in note -->
  650. 谢谢你的反馈!
  651. </div>
  652. <div data-md-value="0" hidden>
  653. <!-- Determine title -->
  654. <!-- Replace {url} and {title} placeholders in note -->
  655. Thanks for your feedback! Help us improve this page by using our <a href="https://marketingplatform.google.com/about/analytics/" target="_blank" rel="noopener">feedback form</a>.
  656. </div>
  657. </div>
  658. </div>
  659. </fieldset>
  660. </form>
  661. <!--
  662. Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
  663. Permission is hereby granted, free of charge, to any person obtaining a copy
  664. of this software and associated documentation files (the "Software"), to
  665. deal in the Software without restriction, including without limitation the
  666. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  667. sell copies of the Software, and to permit persons to whom the Software is
  668. furnished to do so, subject to the following conditions:
  669. The above copyright notice and this permission notice shall be included in
  670. all copies or substantial portions of the Software.
  671. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  672. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  673. FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
  674. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  675. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  676. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  677. IN THE SOFTWARE.
  678. -->
  679. <!-- Comment system -->
  680. </article>
  681. </div>
  682. <script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var tab,labels=set.querySelector(".tabbed-labels");for(tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script>
  683. </div>
  684. <button type="button" class="md-top md-icon" data-md-component="top" hidden>
  685. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12Z"/></svg>
  686. 回到页面顶部
  687. </button>
  688. </main>
  689. <!--
  690. Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
  691. Permission is hereby granted, free of charge, to any person obtaining a copy
  692. of this software and associated documentation files (the "Software"), to
  693. deal in the Software without restriction, including without limitation the
  694. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  695. sell copies of the Software, and to permit persons to whom the Software is
  696. furnished to do so, subject to the following conditions:
  697. The above copyright notice and this permission notice shall be included in
  698. all copies or substantial portions of the Software.
  699. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  700. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  701. FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
  702. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  703. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  704. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  705. IN THE SOFTWARE.
  706. -->
  707. <!-- Footer -->
  708. <footer class="md-footer">
  709. <!-- Link to previous and/or next page -->
  710. <nav
  711. class="md-footer__inner md-grid"
  712. aria-label="页脚"
  713. >
  714. <!-- Link to previous page -->
  715. <a
  716. href="../git/"
  717. class="md-footer__link md-footer__link--prev"
  718. aria-label="上一页: Git 实用技巧"
  719. >
  720. <div class="md-footer__button md-icon">
  721. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
  722. </div>
  723. <div class="md-footer__title">
  724. <span class="md-footer__direction">
  725. 上一页
  726. </span>
  727. <div class="md-ellipsis">
  728. Git 实用技巧
  729. </div>
  730. </div>
  731. </a>
  732. <!-- Link to next page -->
  733. <a
  734. href="../vercel/"
  735. class="md-footer__link md-footer__link--next"
  736. aria-label="下一页: 如何将 github pages 迁移到 vercel 上托管"
  737. >
  738. <div class="md-footer__title">
  739. <span class="md-footer__direction">
  740. 下一页
  741. </span>
  742. <div class="md-ellipsis">
  743. 如何将 github pages 迁移到 vercel 上托管
  744. </div>
  745. </div>
  746. <div class="md-footer__button md-icon">
  747. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4Z"/></svg>
  748. </div>
  749. </a>
  750. </nav>
  751. <!-- Further information -->
  752. <div class="md-footer-meta md-typeset">
  753. <div class="md-footer-meta__inner md-grid">
  754. <div class="md-copyright">
  755. <div class="md-copyright__highlight">
  756. Copyright &copy; 2022~2023 Wcowin/All Rights Reserved.
  757. </div>
  758. Made with
  759. <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
  760. Material for MkDocs
  761. </a>
  762. </div>
  763. <!-- Social links -->
  764. <center>
  765. <footer>
  766. <a href="https://icp.gov.moe/?keyword=20230640" target="_blank">萌ICP备20230640号</a>
  767. </footer>
  768. </center>
  769. <div class="md-social">
  770. <a href="https://twitter.com/wcowin_" target="_blank" rel="noopener" title="twitter.com" class="md-social__link">
  771. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9L389.2 48zm-24.8 373.8h39.1L151.1 88h-42l255.3 333.8z"/></svg>
  772. </a>
  773. <a href="https://github.com/Wcowin" target="_blank" rel="noopener" title="github.com" class="md-social__link">
  774. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
  775. </a>
  776. <a href="mailto:<wangkewen821@gmail.com>" target="_blank" rel="noopener" title="" class="md-social__link">
  777. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M64 112c-8.8 0-16 7.2-16 16v22.1l172.5 141.6c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16h384c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128c0-35.3 28.7-64 64-64h384c35.3 0 64 28.7 64 64v256c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"/></svg>
  778. </a>
  779. <a href="https://space.bilibili.com/1407028951?spm_id_from=333.1007.0.0" target="_blank" rel="noopener" title="space.bilibili.com" class="md-social__link">
  780. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M488.6 104.1c16.7 18.1 24.4 39.7 23.3 65.7v202.4c-.4 26.4-9.2 48.1-26.5 65.1-17.2 17-39.1 25.9-65.5 26.7H92.02c-26.45-.8-48.21-9.8-65.28-27.2C9.682 419.4.767 396.5 0 368.2V169.8c.767-26 9.682-47.6 26.74-65.7C43.81 87.75 65.57 78.77 92.02 78h29.38L96.05 52.19c-5.75-5.73-8.63-13-8.63-21.79 0-8.8 2.88-16.06 8.63-21.797C101.8 2.868 109.1 0 117.9 0s16.1 2.868 21.9 8.603L213.1 78h88l74.5-69.397C381.7 2.868 389.2 0 398 0c8.8 0 16.1 2.868 21.9 8.603 5.7 5.737 8.6 12.997 8.6 21.797 0 8.79-2.9 16.06-8.6 21.79L394.6 78h29.3c26.4.77 48 9.75 64.7 26.1zm-38.8 69.7c-.4-9.6-3.7-17.4-10.7-23.5-5.2-6.1-14-9.4-22.7-9.8H96.05c-9.59.4-17.45 3.7-23.58 9.8-6.14 6.1-9.4 13.9-9.78 23.5v194.4c0 9.2 3.26 17 9.78 23.5s14.38 9.8 23.58 9.8H416.4c9.2 0 17-3.3 23.3-9.8 6.3-6.5 9.7-14.3 10.1-23.5V173.8zm-264.3 42.7c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.2 6.3-14 9.5-23.6 9.5-9.6 0-17.5-3.2-23.6-9.5-6.1-6.3-9.4-14-9.8-23.2v-33.3c.4-9.1 3.8-16.9 10.1-23.2 6.3-6.3 13.2-9.6 23.3-10 9.2.4 17 3.7 23.3 10zm191.5 0c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.1 6.3-14 9.5-23.6 9.5-9.6 0-17.4-3.2-23.6-9.5-7-6.3-9.4-14-9.7-23.2v-33.3c.3-9.1 3.7-16.9 10-23.2 6.3-6.3 14.1-9.6 23.3-10 9.2.4 17 3.7 23.3 10z"/></svg>
  781. </a>
  782. </div>
  783. </div>
  784. </div>
  785. </footer>
  786. </div>
  787. <div class="md-dialog" data-md-component="dialog">
  788. <div class="md-dialog__inner md-typeset"></div>
  789. </div>
  790. <script id="__config" type="application/json">{"base": "../..", "features": ["announce.dismiss", "navigation.tracking", "navigation.tabs", "navigation.sections", "navigation.top", "navigation.footer", "search.suggest", "search.highlight", "search.share", "navigation.expand", "navigation.indexes", "content.tabs.link", "content.tooltips", "content.code.copy", "content.action.edit", "content.action.view", "content.code.annotate"], "search": "../../assets/javascripts/workers/search.a264c092.min.js", "translations": {"clipboard.copied": "\u5df2\u590d\u5236", "clipboard.copy": "\u590d\u5236", "search.result.more.one": "\u5728\u8be5\u9875\u4e0a\u8fd8\u6709 1 \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.more.other": "\u5728\u8be5\u9875\u4e0a\u8fd8\u6709 # \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.none": "\u6ca1\u6709\u627e\u5230\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.one": "\u627e\u5230 1 \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.other": "# \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.placeholder": "\u952e\u5165\u4ee5\u5f00\u59cb\u641c\u7d22", "search.result.term.missing": "\u7f3a\u5c11", "select.version": "\u9009\u62e9\u5f53\u524d\u7248\u672c"}}</script>
  791. <script src="../../assets/javascripts/bundle.726fbb30.min.js"></script>
  792. <script src="../../javascripts/extra.js"></script>
  793. <script src="../../javascripts/mathjax.js"></script>
  794. <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
  795. <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
  796. <script src="../../ckplayer/js/ckplayer.js"></script>
  797. <script src="https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.min.js"></script>
  798. <script src="https://cdn.jsdelivr.net/npm/mermaid@10.0.2/dist/add-html-label-6e56ed67.min.js"></script>
  799. <script src="../../assets/javascripts/custom.9458f965.min.js"></script>
  800. </body>
  801. </html>