<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>北京前端外包 - 前端工具</title><link>http://www.chinasgp.cn/</link><description>北京前端开发_靠谱前端外包团队 - </description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 90619</generator><language>zh-CN</language><copyright>Copyright 北京前端外包|北京前端开发外包|北京前端兼职私活 chinasgp.cn </copyright><pubDate>Sun, 05 Apr 2026 00:31:26 +0800</pubDate><item><title>git 回滚到指定 commit</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5516.html</link><pubDate>Wed, 17 Jul 2024 11:14:05 +0800</pubDate><guid>http://www.chinasgp.cn/article/5516.html</guid><description><![CDATA[<p>&nbsp;<span style="color: rgb(6, 6, 7); font-family: -apple-system, blinkmacsystemfont, &quot;Helvetica Neue&quot;, helvetica, &quot;segoe ui&quot;, arial, roboto, &quot;PingFang SC&quot;, miui, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 14px; letter-spacing: 0.25px; white-space-collapse: preserve;">在 Git 中，如果你想回滚到一个指定的 commit，有几种不同的方法可以实现，具体取决于你希望如何撤销更改。以下是几种常用的方法：</span></p>...]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5516.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5516</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5516&amp;key=2a84729f</trackback:ping></item><item><title>前端外包开发:git 舍弃本地代码强制从远程库更新</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5512.html</link><pubDate>Sun, 19 May 2024 11:23:27 +0800</pubDate><guid>http://www.chinasgp.cn/article/5512.html</guid><description><![CDATA[<p>fetch所有分支上的内容，也可以选择只备份一部分内容</p><div>&nbsp;</div><div>git fetch --all</div><div>&nbsp;</div><div>重置本地分支（这里master要修改为对应的分支名）</div><div>&nbsp;</div><div><strong>git reset --hard origin/master</strong></div><div>&nbsp;</div><div>git pull</div>...]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5512.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5512</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5512&amp;key=825bb4aa</trackback:ping></item><item><title>git 提交 忽略husky  git 提交 忽略eslint 检测</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5511.html</link><pubDate>Sun, 19 May 2024 11:09:43 +0800</pubDate><guid>http://www.chinasgp.cn/article/5511.html</guid><description><![CDATA[<p><strong>直接解决办法</strong></p><div>git commit --no-verify -m &quot;Your commit message&quot;</div><div>&nbsp;</div><div><strong>临时绕过 Husky 钩子：</strong></div><div>如果你需要紧急提交代码而无法立即修复 Husky 钩子的问题，你可以临时绕过 Husky 钩子，执行 Git 提交。你可以通过在提交时添加 --no-verify 参数来跳过所有的 Git 钩子。</div>...]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5511.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5511</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5511&amp;key=43650062</trackback:ping></item><item><title>前端外包工具:如何npm清理缓冲yarn,pnpm 清理缓存</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5510.html</link><pubDate>Sat, 18 May 2024 20:21:42 +0800</pubDate><guid>http://www.chinasgp.cn/article/5510.html</guid><description><![CDATA[<p><strong>&nbsp;1，为什么要清理缓存</strong></p><div>缓存文件太多，影响系统运行</div><div>随着前端项目的增多，会下载许多的依赖。不管是哪种包管理器，都会使用缓存来增加下次下载的速度。但会有些问题：</div><div>&nbsp;</div><div>项目更新依赖时，旧版本依赖的缓存依然会存在，即便之后用不到了。</div><div>开启新项目时，对比其他项目又会下载一些依赖的新版本，旧版本依赖的缓存依然会存在。</div><div>而现在的网络速度都比较快，太多的缓存只会占用空间。</div>...]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5510.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5510</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5510&amp;key=723b1633</trackback:ping></item><item><title>前端开发工具:npm和pnpm有什么区别?pnpm安装</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5509.html</link><pubDate>Sat, 18 May 2024 20:12:22 +0800</pubDate><guid>http://www.chinasgp.cn/article/5509.html</guid><description><![CDATA[<p>&nbsp;npm和pnpm都是JavaScript的包管理工具，用于自动化安装、配置、更新和卸载npm包依赖。然而，它们在设计和功能上有一些关键的区别：</p><div>&nbsp;</div><div><strong>存储方式:</strong></div><div>npm为每个项目安装独立的包版本，即使多个项目使用相同的包版本，也会在每个项目的node_modules目录下存储一个副本。</div><div>pnpm使用一个内容寻址的文件存储方式，如果多个项目使用相同的包版本，pnpm会存储单个副本，并在每个项目中创建硬链接。这节省了大量的磁盘空间并提高了安装速度。</div>...]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5509.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5509</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5509&amp;key=6830000d</trackback:ping></item><item><title>前端开发:npm与yarn的区别</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5508.html</link><pubDate>Sat, 18 May 2024 20:04:47 +0800</pubDate><guid>http://www.chinasgp.cn/article/5508.html</guid><description><![CDATA[<div><strong>npm与yarn的区别</strong></div><div>yarn 是由 Facebook、Google、Exponent 和 Tilde 联合推出了一个新的 JS 包管理工具，yarn 是为了弥补 npm 的一些缺陷而出现的</div><div>&nbsp;</div><div><strong>同为包管理工具 npm和yarn的区别</strong></div><div>1、并行安装：yarn安装包会同时执行多个任务，npm 需等待上一个任务安装完成才能运行下一个任务</div>...]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5508.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5508</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5508&amp;key=19b695af</trackback:ping></item><item><title>devServer proxy跨域 设置代理 proxy vue项目devServer</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5464.html</link><pubDate>Sat, 15 May 2021 06:44:11 +0800</pubDate><guid>http://www.chinasgp.cn/article/5464.html</guid><description><![CDATA[<div><strong>什么是同源策略？</strong></div><div>同源策略是一种约定，它是浏览器最核心也最基本的安全功能，如果缺少了同源策略，则浏览器的正常功能可能都会受到影响。可以说Web是构建在同源策略基础之上的，浏览器只是针对同源策略的一种实现。</div><div><strong>所谓同源是指：协议、域名、端口都相同</strong></div><div>&nbsp;</div><div><strong>什么是跨域</strong></div><div><strong>跨域就是不同源，就是不满足协议、域名、端口都相同的约定</strong></div><p>...</p>]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5464.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5464</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5464&amp;key=a3902d80</trackback:ping></item><item><title>vue iframe跨域通信-iframe跨域问题vue </title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5462.html</link><pubDate>Mon, 10 May 2021 22:26:58 +0800</pubDate><guid>http://www.chinasgp.cn/article/5462.html</guid><description><![CDATA[<p>&nbsp;vue内嵌iframe跨域通信1、Vue组件中如何引入iframe？&nbsp;&lt;template&gt;&nbsp; &lt;div class=&quot;act-form&quot;&gt;&nbsp; &nbsp; &lt;iframe :src=&quot;src&quot;&gt;&lt;/iframe&gt;&nbsp; &lt;/div&gt;&lt;/templ</p>]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5462.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5462</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5462&amp;key=a219be3d</trackback:ping></item><item><title>webpack happypack多线程打包</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/5459.html</link><pubDate>Wed, 31 Mar 2021 17:06:43 +0800</pubDate><guid>http://www.chinasgp.cn/article/5459.html</guid><description><![CDATA[<p>&nbsp;webpack happypack 多线程打包，当工程比较大的时候可以使用多线程打包</p><div>&nbsp;</div><div><div><strong>操作步骤:</strong></div><div>1、安装happypack插件</div><div><strong>&nbsp;yarn add happypack</strong></div><div>2、配置</div><div><div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Menlo, Monaco, &quot;Courier New&quot;, monospace; font-size: 16px; line-height: 24px; white-space: pre;">...</div></div></div>]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/5459.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=5459</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=5459&amp;key=aa00166c</trackback:ping></item><item><title>ps快捷键大全、ps填充快捷键、ps放大缩小快捷键</title><author>a@b.com (xiaoming)</author><link>http://www.chinasgp.cn/article/2818.html</link><pubDate>Fri, 01 May 2020 22:55:47 +0800</pubDate><guid>http://www.chinasgp.cn/article/2818.html</guid><description><![CDATA[<p>&nbsp;记住下面这些PS快捷键能够让你工作的时候事半功倍，果断收藏！</p><div>&nbsp;</div><div>&nbsp;</div><div><strong>一、工具箱</strong></div><div>&nbsp;</div><div>&nbsp;</div><div>多种工具共用一个快捷键的可同时按【Shift】加此快捷键选取</div><div>&nbsp;</div><div>矩形、椭圆选框工具【M】</div><div>&nbsp;</div>...]]></description><category>前端工具</category><comments>http://www.chinasgp.cn/article/2818.html#comment</comments><wfw:comment>http://www.chinasgp.cn/</wfw:comment><wfw:commentRss>http://www.chinasgp.cn/feed.asp?cmt=2818</wfw:commentRss><trackback:ping>http://www.chinasgp.cn/cmd.asp?act=tb&amp;id=2818&amp;key=5dec61e0</trackback:ping></item></channel></rss>
