Deployed 92c3dd4 with MkDocs version: 1.6.1

This commit is contained in:
2024-12-30 05:38:48 +00:00
parent 3c42afb7d6
commit ee5df60b74
5 changed files with 48 additions and 90 deletions

View File

@ -1998,10 +1998,8 @@
<h1>利用Lighthouse测试网站性能</h1>
<p><img alt="img" src="https://cn.mcecy.com/image/20230113/3b9e713ce6d943055da05986fee1d329.png" /></p>
<p>打开谷歌或者Edge浏览器按F12在右侧点""找到Lighthouse,点击分析页面载即可 <br />
<img alt="img" src="https://cn.mcecy.com/image/20230113/6cdd1a2bb7f691d4ef540a3ebc58a288.png" />
<img alt="img" src="https://cn.mcecy.com/image/20230113/5c3e45c3e3ec1b07da5cf0046466b8b4.png" /></p>
<p><img alt="image.png" src="https://s2.loli.net/2024/02/04/yxwcmJLXADqMa8P.png" /></p>
<p>打开谷歌或者Edge浏览器按F12在右侧点""找到Lighthouse,点击分析页面载即可 </p>
<!--
Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
@ -2069,7 +2067,7 @@
<span class="md-icon" title="最后更新">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-10-13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-12-30</span>
</span>

View File

@ -1996,51 +1996,11 @@
<h1>如何将 github pages 迁移到 vercel 上托管</h1>
<blockquote>
<p><a href="https://cloud.tencent.com/developer/article/1771693?from=article.detail.2065884&amp;areaSource=106000.11&amp;traceId=URfJ8WWU7TMKAua9v9kI1">如何将 github pages 迁移到 vercel 上托管</a></p>
</blockquote>
<h2 id="%E5%89%8D%E8%A8%80" name="%E5%89%8D%E8%A8%80"><strong>前言</strong></h2>
<p>早期网站使用 <code>github pages</code>,后来迁移到 coding,最近又放到腾讯云网站静态托管,无论是 coding 的 cos 存储桶,还是<a data-text-link="143_1771693" data-from="10680" href="https://cloud.tencent.com/product/wh?from=10680" target="_blank">静态网站托管</a></p>
<p>他们都是收费的,那有没有免费的托管商呢,既不影响网站的访问速度还免费,于是,找了一下,还真有,vercel和Netlify,就是免费的</p>
<p>其中大名顶顶的<code>Next.js</code>,<code>create-react-app</code>,<code>Nuxt.js</code>等就是部署在部署托管在<code>vercel</code>的,而<code>vuejs</code>,<code>reactjs</code>等就是托管在<code>Netlify</code>上的</p>
<p>想必经常打开这些鼎鼎大名官网的时候,访问速度还是可以的</p>
<p>今天说一下这个<code>vercel</code>,Vercel 可以部署任何前端应用程序的最佳场所。号称以零配置部署到我们的全球边缘网络,动态扩展到数百万个页面而不会费力</p>
<p>一键导入(支持 github,gitlab,BitBucket),自己的存储库然后推送。vercel 内置的<code>CI / CD</code>系统会在每次代码更改时触发</p>
<p>体验过后,确实方便,强大</p>
<h1 id="01" name="01"><strong>01</strong></h1>
<p><strong>为什么选择 vercel</strong></p>
<p>⒈ 免费部署托管前端应用</p>
<p>⒉ 支持一键导入(github,gitlab),零配置</p>
<p>⒊ 支持自定义<a data-text-link="3020_1771693" data-from="10680" href="https://cloud.tencent.com/act/pro/domain-sales?from=10680" target="_blank">域名</a>以及配置 ssl 证书,https.</p>
<p>⒋ 简单友好,个人账户免费,可以部署 next.js,Nuxt.js,Gatsby.js,Angular,Ember.js,Hexo,Eleventy,Hugo,Docusaurus2,Preact,Dojo,Vue.js,Jekyll 等</p>
<h1 id="02" name="02"><strong>02</strong></h1>
<p><strong>前提条件</strong></p>
<p>⒈ 先成功部署 github pages(本文以 github pages 为例,其他类似的应用也是如此)</p>
<p>⒉ 然后登陆 vercel 官网, 一键导入</p>
<h1 id="03" name="03"><strong>03</strong></h1>
<p><strong>怎么使用呢</strong></p>
<p>在自己的 github 仓库中找到 github pages 仓库</p>
<figure class=""><div class="image-block"><span><div class="" style="text-align: center; position: relative;"><img src="https://cn.mcecy.com/image/20230324/6285ed9835abcf64f36a44b1d79a08aa.png" style="box-shadow: none; width: 1080px; display: inline-block;"></div></span></div></figure>
<p>(找到自己github pages的仓库)</p>
<figure class=""><div class="image-block"><span><div class="" style="text-align: center; position: relative;"><img src="https://cn.mcecy.com/image/20230324/b97055900dc7cca51de9bf384df0e9f5.png" style="box-shadow: none; width: 1080px; display: inline-block;"></div></span></div></figure>
<p>(在vercel上导入github 仓库的代码)</p>
<figure class=""><div class="image-block"><span><div class="" style="text-align: center; position: relative;"><img src="https://cn.mcecy.com/image/20230324/9a686b37919e00378a1db188ac2d0264.png" style="box-shadow: none; width: 1080px; display: inline-block;"></div></span></div></figure>
<p>
等待导入部署即可</p>
<h2 id="" name="">
</h2>
<h1 id="04" name="04"><strong>04</strong></h1>
<p><strong>自定义</strong><a data-text-link="10_1771693" data-from="10680" href="https://cloud.tencent.com/product/cns?from=10680" target="_blank"><strong>域名解析</strong></a></p>
<figure class=""><div class="image-block"><span><div class="" style="text-align: center; position: relative;"><img src="https://cn.mcecy.com/image/20230324/fd4eb1adf201cbb71a324ba3e9ce312a.png" style="box-shadow: none; width: 1080px; display: inline-block;"></div></span></div></figure>
<p>点击 Settings?Domains? 输入自己的域名,并在域名购买方控制台(在阿里买的域名就去阿里控制台,在腾讯云买的域名,就去腾讯云的控制台)添加域名解析CNAME</p>
<p>解析完成后即可通过自己的域名访问自己的博客了</p>
<figure class=""><div class="image-block"><span><div class="" style="text-align: center; position: relative;"><img src="https://cn.mcecy.com/image/20230324/cfee4cf38acaf7bd29e0ce74ce7b57fa.png" style="box-shadow: none; width: 1080px; display: inline-block;"></div></span></div></figure>
<h2 id="" name="">
</h2>
<h1 id="05" name="05"><strong>05</strong></h1>
<p><strong>总结</strong></p>
<p>当你不满足于 github pages,嫌弃它访问得慢,是可以选择 vercel 来进行托管的,也支持自定义域名,免费的一个 ssl 证书</p>
<p>只要一键导入代码就可以了的,非常简单方便,可以一键部署前端很多应用..</p>
<!--
Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
@ -2108,7 +2068,7 @@
<span class="md-icon" title="最后更新">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-10-13</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-12-30</span>
</span>

File diff suppressed because one or more lines are too long

View File

@ -2,166 +2,166 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/liuyanban/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/ZH-TW/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/about/geren/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/about/link/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/about/test/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/Mkdocs/mkdocs1/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/Mkdocs/mkdocs2/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/Mkdocs/mkdocs3/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/Mkdocs/mkdocsblog/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/Mkdocs/mkfirst/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/2021/12/18/%E5%8D%9A%E5%AE%A2%E6%96%87%E7%AB%A0%E6%B5%8B%E8%AF%95/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/2022/06/06/2022%E7%BD%91%E7%AB%99%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/2023/12/21/2023%E7%BD%91%E7%AB%99%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/2024/01/01/2024%E7%BD%91%E7%AB%99%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/404/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/backgroud/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/header/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/linktech/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/mkcomments/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/mkdocsfont/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/shubiao/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/time/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/webtalknow/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/websitebeauty/yuanjiaohua/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/develop/git/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/develop/lighthouse/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/develop/vercel/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/develop/Markdown/MWeb/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/develop/Markdown/markdown/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/develop/designbeauty/db1/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/develop/designbeauty/my-to-desihn/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/en/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/archive/2024/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/archive/2023/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/archive/2022/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/archive/2021/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/category/%E7%BD%91%E7%AB%99%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/blog/category/hello-world/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
<url>
<loc>http://wcowin.work/Mkdocs-Wcowin/tag/</loc>
<lastmod>2024-12-24</lastmod>
<lastmod>2024-12-30</lastmod>
</url>
</urlset>

Binary file not shown.