前端开发原生工具有哪些

前端开发原生工具有哪些

在前端开发中,原生工具包括HTML、CSS、JavaScript、浏览器开发者工具、命令行工具等。其中,浏览器开发者工具尤为重要,因为它不仅提供了调试代码的功能,还可以实时查看和修改网页元素。使用这些原生工具,前端开发者能够快速构建和优化网页应用,并确保其跨浏览器兼容性和性能。

一、HTML

HTML(HyperText Markup Language)是构建网页的基本语言,所有前端开发的基础。它定义了网页的结构和内容。HTML使用标签来标记文本、图像、链接和其他内容,使浏览器能够正确地显示网页。HTML的最新版本是HTML5,增加了许多新的功能和标签,如

HTML标签和属性

HTML标签是构建网页的基本单位,每个标签都有其特定的用途。例如,

标签用于段落,标签用于链接。属性则提供了额外的信息,如class、id、src等,能够更加详细地描述标签的功能和样式。

HTML文档结构

一个标准的HTML文档包括文档类型声明()、根元素、头部元素和主体元素。头部元素包含了元数据,如、<meta>、<link>等,而主体元素则包含实际的网页内容。</p> </p> <p><h2><span class="ez-toc-section" id="25E425BA258C25E325802581CSS"></span>二、CSS<span class="ez-toc-section-end"></span></h2></p> <p><strong>CSS</strong>(Cascading Style Sheets)用于控制网页的外观和布局。通过CSS,开发者可以指定元素的颜色、字体、间距、边框等,使网页更加美观和用户友好。CSS与HTML分离,能够提高代码的可维护性和复用性。</p> <p><h3><span class="ez-toc-section" id="CSS25E92580258925E6258B25A925E5259925A825E52592258C25E825A7258425E525882599"></span>CSS选择器和规则<span class="ez-toc-section-end"></span></h3></p> <p><p>CSS选择器用于选择HTML元素,常见的选择器有元素选择器、类选择器、ID选择器、属性选择器等。规则则由选择器和声明块组成,声明块包含一个或多个声明,每个声明由属性和值构成。例如,.classname { color: red; }表示将类名为classname的元素文字颜色设为红色。</p> </p> <p><h3><span class="ez-toc-section" id="CSS25E525B8258325E525B1258025E52592258C25E52593258D25E525BA259425E525BC258F25E825AE25BE25E825AE25A1"></span>CSS布局和响应式设计<span class="ez-toc-section-end"></span></h3></p> <p><p>CSS布局技术包括浮动(float)、定位(position)、Flexbox和Grid等。响应式设计则使用媒体查询(@media)来适应不同设备的屏幕尺寸,使网页在手机、平板和桌面设备上都能良好显示。</p> </p> <p><h2><span class="ez-toc-section" id="25E425B8258925E325802581JavaScript"></span>三、JavaScript<span class="ez-toc-section-end"></span></h2></p> <p><strong>JavaScript</strong>是一种动态脚本语言,广泛用于网页开发中。它能够实现网页的动态交互,如表单验证、动画效果、异步数据加载等。JavaScript的灵活性和强大功能使其成为前端开发的核心技术之一。</p> <p><h3><span class="ez-toc-section" id="JavaScript25E825AF25AD25E625B3259525E52592258C25E5259F25BA25E6259C25AC25E625A6258225E525BF25B5"></span>JavaScript语法和基本概念<span class="ez-toc-section-end"></span></h3></p> <p><p>JavaScript的基本语法包括变量、数据类型、运算符、控制结构(如if、for、while等)和函数等。变量可以通过var、let、const声明,数据类型包括基本类型(如数字、字符串、布尔值等)和复杂类型(如对象、数组等)。</p> </p> <p><h3><span class="ez-toc-section" id="DOM25E62593258D25E425BD259C25E52592258C25E425BA258B25E425BB25B625E525A4258425E725902586"></span>DOM操作和事件处理<span class="ez-toc-section-end"></span></h3></p> <p><p>DOM(Document Object Model)是网页的编程接口,通过JavaScript可以动态地操作DOM节点,如创建、修改、删除元素。事件处理则是JavaScript的核心功能,通过事件监听器(如addEventListener)可以响应用户的交互,如点击、悬停、输入等。</p> </p> <p><h2><span class="ez-toc-section" id="25E5259B259B25E32580258125E625B5258F25E825A7258825E5259925A825E525BC258025E5258F259125E82580258525E525B725A525E5258525B7"></span>四、浏览器开发者工具<span class="ez-toc-section-end"></span></h2></p> <p><strong>浏览器开发者工具</strong>是前端开发者的必备工具,它提供了调试、分析和优化网页的功能。主要的浏览器如Chrome、Firefox、Safari和Edge都内置了强大的开发者工具。</p> <p><h3><span class="ez-toc-section" id="25E52585258325E725B425A025E625A3258025E6259F25A525E52592258C25E525AE259E25E6259725B625E725BC259625E825BE2591"></span>元素检查和实时编辑<span class="ez-toc-section-end"></span></h3></p> <p><p>开发者工具的元素面板可以查看和编辑网页的DOM结构和CSS样式。通过实时编辑功能,开发者可以立即看到修改效果,极大地方便了调试和优化。</p> </p> <p><h3><span class="ez-toc-section" id="25E6258E25A725E5258825B625E5258F25B025E52592258C25E825B0258325E825AF2595"></span>控制台和调试<span class="ez-toc-section-end"></span></h3></p> <p><p>控制台面板是JavaScript调试的重要工具,开发者可以在控制台中输入和执行代码,查看输出结果和错误信息。调试面板提供了断点调试功能,可以逐步执行代码,检查变量状态和调用堆栈。</p> </p> <p><h2><span class="ez-toc-section" id="25E425BA259425E32580258125E5259125BD25E425BB25A425E825A1258C25E525B725A525E5258525B7"></span>五、命令行工具<span class="ez-toc-section-end"></span></h2></p> <p><strong>命令行工具</strong>在前端开发中也扮演着重要角色,帮助开发者管理项目、构建和优化代码。常用的命令行工具有Node.js、npm、yarn等。</p> <p><h3><span class="ez-toc-section" id="Nodejs25E52592258Cnpm"></span>Node.js和npm<span class="ez-toc-section-end"></span></h3></p> <p><p>Node.js是一个基于V8引擎的JavaScript运行环境,使得JavaScript可以在服务器端运行。npm是Node.js的包管理器,提供了丰富的第三方库和工具,可以方便地安装和管理项目依赖。</p> </p> <p><h3><span class="ez-toc-section" id="Webpack25E52592258C25E5258525B625E425BB259625E6259E258425E525BB25BA25E525B725A525E5258525B7"></span>Webpack和其他构建工具<span class="ez-toc-section-end"></span></h3></p> <p><p>Webpack是一个流行的模块打包工具,可以将项目中的各种资源(如JavaScript、CSS、图片等)打包成一个或多个文件,提高加载速度和性能。其他常用的构建工具还有Gulp、Grunt等。</p> </p> <p><h2><span class="ez-toc-section" id="25E5258525AD25E32580258125E62596258725E6259C25AC25E725BC259625E825BE259125E5259925A825E52592258CIDE"></span>六、文本编辑器和IDE<span class="ez-toc-section-end"></span></h2></p> <p><strong>文本编辑器和IDE</strong>(集成开发环境)是前端开发中的基本工具,用于编写和管理代码。常用的文本编辑器有Visual Studio Code、Sublime Text、Atom等,常用的IDE有WebStorm、Eclipse等。</p> <p><h3><span class="ez-toc-section" id="25E425BB25A325E725A0258125E825A125A525E5258525A825E52592258C25E825AF25AD25E625B3259525E925AB259825E425BA25AE"></span>代码补全和语法高亮<span class="ez-toc-section-end"></span></h3></p> <p><p>现代的文本编辑器和IDE通常都支持代码补全和语法高亮功能,可以提高编码效率和准确性。通过插件和扩展,还可以添加更多功能,如代码格式化、版本控制、调试等。</p> </p> <p><h3><span class="ez-toc-section" id="25E925A125B925E7259B25AE25E725AE25A125E72590258625E52592258C25E72589258825E6259C25AC25E6258E25A725E5258825B6"></span>项目管理和版本控制<span class="ez-toc-section-end"></span></h3></p> <p><p>文本编辑器和IDE通常集成了项目管理和版本控制功能,如Git。通过这些功能,开发者可以方便地管理项目文件、跟踪代码变更、协同工作等。</p> </p> <p><h2><span class="ez-toc-section" id="25E425B8258325E32580258125E72589258825E6259C25AC25E6258E25A725E5258825B625E725B325BB25E725BB259F"></span>七、版本控制系统<span class="ez-toc-section-end"></span></h2></p> <p><strong>版本控制系统</strong>在前端开发中也是必不可少的工具,用于管理代码的版本和变更。最常用的版本控制系统是Git。</p> <p><h3><span class="ez-toc-section" id="Git25E5259F25BA25E725A1258025E62593258D25E425BD259C"></span>Git基础操作<span class="ez-toc-section-end"></span></h3></p> <p><p>Git提供了许多基础操作,如初始化仓库(git init)、克隆仓库(git clone)、提交变更(git commit)、查看历史(git log)等。通过这些操作,开发者可以管理项目的不同版本,记录每次变更的详细信息。</p> </p> <p><h3><span class="ez-toc-section" id="25E52588258625E6259425AF25E52592258C25E52590258825E525B925B6"></span>分支和合并<span class="ez-toc-section-end"></span></h3></p> <p><p>Git的分支功能可以让开发者同时进行多个功能的开发,而不会互相影响。通过创建分支(git branch)、切换分支(git checkout)、合并分支(git merge)等操作,可以方便地进行代码管理和协同开发。</p> </p> <p><h2><span class="ez-toc-section" id="25E5258525AB25E32580258125E52589258D25E725AB25AF25E625A1258625E6259E25B625E52592258C25E525BA2593"></span>八、前端框架和库<span class="ez-toc-section-end"></span></h2></p> <p><strong>前端框架和库</strong>可以大大提高开发效率和代码质量。常用的前端框架有React、Vue、Angular等,常用的库有jQuery、Lodash等。</p> <p><h3><span class="ez-toc-section" id="React"></span>React<span class="ez-toc-section-end"></span></h3></p> <p><p>React是一个流行的JavaScript库,用于构建用户界面。它采用组件化开发方式,使得代码更加模块化和可复用。React还提供了虚拟DOM、Hooks等功能,可以提高性能和开发体验。</p> </p> <p><h3><span class="ez-toc-section" id="Vue"></span>Vue<span class="ez-toc-section-end"></span></h3></p> <p><p>Vue是另一个流行的前端框架,具有简单易学、性能高效的特点。Vue采用MVVM模式,通过双向绑定和指令系统,使得数据和视图的同步更加简单。</p> </p> <p><h3><span class="ez-toc-section" id="Angular"></span>Angular<span class="ez-toc-section-end"></span></h3></p> <p><p>Angular是一个完整的前端框架,提供了丰富的内置功能,如双向绑定、依赖注入、路由等。Angular采用TypeScript开发,具有强类型检查和面向对象编程的优势。</p> </p> <p><h2><span class="ez-toc-section" id="25E425B9259D25E325802581API25E525B725A525E5258525B725E52592258C25E625B5258B25E825AF259525E525B725A525E5258525B7"></span>九、API工具和测试工具<span class="ez-toc-section-end"></span></h2></p> <p><strong>API工具和测试工具</strong>在前端开发中也非常重要,用于调试和测试接口、保证代码质量。常用的API工具有Postman、Swagger等,常用的测试工具有Jest、Mocha、Cypress等。</p> <p><h3><span class="ez-toc-section" id="Postman"></span>Postman<span class="ez-toc-section-end"></span></h3></p> <p><p>Postman是一个流行的API调试工具,可以方便地发送HTTP请求、查看响应结果、进行接口测试。Postman还支持环境变量、自动化测试、团队协作等功能。</p> </p> <p><h3><span class="ez-toc-section" id="Jest"></span>Jest<span class="ez-toc-section-end"></span></h3></p> <p><p>Jest是一个流行的JavaScript测试框架,支持单元测试、集成测试和端到端测试。Jest具有简单易用、性能高效的特点,并且与React等前端框架高度兼容。</p> </p> <p><h3><span class="ez-toc-section" id="Cypress"></span>Cypress<span class="ez-toc-section-end"></span></h3></p> <p><p>Cypress是一个现代的前端测试工具,支持端到端测试和集成测试。Cypress具有快速的测试执行速度和直观的调试界面,可以提高测试效率和准确性。</p> </p> <p><h2><span class="ez-toc-section" id="25E5258D258125E32580258125E425BB25A325E725A0258125E825B425A825E92587258F25E52592258C25E6258025A725E8258325BD25E425BC259825E5258C2596"></span>十、代码质量和性能优化<span class="ez-toc-section-end"></span></h2></p> <p><strong>代码质量和性能优化</strong>是前端开发中不可忽视的重要环节。通过使用代码质量工具和性能优化工具,可以提高代码的可维护性和网页的加载速度。</p> <p><h3><span class="ez-toc-section" id="ESLint25E52592258CPrettier"></span>ESLint和Prettier<span class="ez-toc-section-end"></span></h3></p> <p><p>ESLint是一个流行的JavaScript代码检查工具,可以检测代码中的错误和不规范之处,并提供修复建议。Prettier是一个代码格式化工具,可以自动格式化代码,提高代码的一致性和可读性。</p> </p> <p><h3><span class="ez-toc-section" id="Lighthouse"></span>Lighthouse<span class="ez-toc-section-end"></span></h3></p> <p><p>Lighthouse是一个开源的网页性能测试工具,可以评估网页的性能、可访问性、SEO等方面。通过Lighthouse的报告,开发者可以发现和修复性能瓶颈,提升用户体验。</p> </p> <p><h3><span class="ez-toc-section" id="25E425BC259825E5258C259625E825B5258425E625BA259025E5258A25A025E825BD25BD"></span>优化资源加载<span class="ez-toc-section-end"></span></h3></p> <p><p>性能优化的重要一环是优化资源加载,包括压缩和合并文件、使用CDN、懒加载等。通过这些技术,可以减少网页的加载时间,提升用户体验和SEO排名。</p> </p> <p><p>总结,前端开发的原生工具是每个前端开发者必须掌握的基本技能。通过熟练使用HTML、CSS、JavaScript、浏览器开发者工具、命令行工具等,开发者可以快速构建高质量的网页应用,并不断优化其性能和用户体验。</p> </p> <h2><span class="ez-toc-section" id="25E7259B25B825E5258525B325E9259725AE25E725AD2594FAQs25EF25BC259A"></span><strong>相关问答FAQs:</strong><span class="ez-toc-section-end"></span></h2> <p><strong>1. 什么是前端开发原生工具?</strong></p> <p>前端开发原生工具是指那些不依赖于任何框架或库的工具,通常用于构建网页和应用程序的基础功能。这些工具包括HTML、CSS和JavaScript,开发者利用这些工具可以创建丰富的用户界面和良好的用户体验。原生工具的使用通常意味着开发者对浏览器的底层功能有更深入的理解,这样能够更有效地进行性能优化和故障排查。</p> <p>HTML(超文本标记语言)是构建网页的基本语言,负责网页内容的结构。CSS(层叠样式表)则用于控制网页的外观,包括颜色、布局和字体等视觉元素。JavaScript作为一种编程语言,允许开发者为网页添加动态功能,如响应用户输入、更新内容和处理数据。</p> <p><strong>2. 原生工具在前端开发中的优势是什么?</strong></p> <p>使用原生工具进行前端开发有多方面的优势。首先,原生工具的学习曲线相对较低,开发者可以在较短的时间内掌握基本技能。其次,原生工具的直接性使得开发者能够更清晰地理解浏览器的工作原理,这有助于调试和优化性能。</p> <p>在性能方面,原生工具通常比使用框架或库的方案更快,因为它们不需要加载额外的资源。原生开发的代码通常更精简,这也使得页面加载速度更快,用户体验得以提升。此外,使用原生工具可以避免因框架版本更新而带来的潜在问题。开发者可以完全控制代码的每一个部分,从而保持代码的可维护性和可扩展性。</p> <p><strong>3. 如何选择合适的前端开发原生工具?</strong></p> <p>选择合适的前端开发原生工具时,首先要考虑项目的需求和目标。对于简单的静态网页,HTML、CSS和少量JavaScript通常就足够了。然而,如果项目需要更复杂的交互功能或数据处理,开发者可能需要深入学习JavaScript的高级特性。</p> <p>在选用工具时,了解目标用户的设备和浏览器环境也至关重要。由于不同的浏览器可能对某些HTML和CSS特性支持不一,开发者需要确保所使用的工具能够兼容大部分用户的设备。</p> <p>另外,社区支持和文档质量也是重要考量因素。良好的社区和文档能够为开发者提供丰富的学习资源和解决方案,帮助他们更快地解决问题。在使用原生工具的过程中,参与开发者社区的讨论和学习也是提升技能的有效途径。</p> <p>通过对这些因素的综合考量,开发者可以选择出最适合自己项目的前端开发原生工具,确保项目的成功和高效。</p> <div class="entry-copyright"><p>原创文章,作者:xiaoxiao,如若转载,请注明出处:https://devops.gitlab.cn/archives/192241</p></div> </div> <div class="entry-tag"></div> <div class="entry-action"> <div class="btn-zan" data-id="192241"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up-fill"></use></svg></i> 赞 <span class="entry-action-num">(0)</span></div> </div> <div class="entry-bar"> <div class="entry-bar-inner"> <div class="entry-bar-author"> <a data-user="3" target="_blank" href="https://devops.gitlab.cn/archives/author/xiaoxiao" class="avatar j-user-card"> <img alt='xiaoxiao' src='//g.izt6.com/avatar/95ffd0b35c412a1fbd8ac4c83346e795?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/95ffd0b35c412a1fbd8ac4c83346e795?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/><span class="author-name">xiaoxiao</span> </a> </div> <div class="entry-bar-info"> <div class="info-item meta"> <a class="meta-item j-heart" href="javascript:;" data-id="192241"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-star"></use></svg></i> <span class="data">0</span></a> <a class="meta-item" href="#comments"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i> <span class="data">0</span></a> </div> <div class="info-item share"> <a class="meta-item mobile j-mobile-share" href="javascript:;" data-id="192241" data-qrcode="https://devops.gitlab.cn/archives/192241"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> 生成海报</a> <a class="meta-item wechat" data-share="wechat" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-wechat"></use></svg></i> </a> <a class="meta-item weibo" data-share="weibo" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-weibo"></use></svg></i> </a> <a class="meta-item qq" data-share="qq" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qq"></use></svg></i> </a> </div> <div class="info-item act"> <a href="javascript:;" id="j-reading"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-article"></use></svg></i></a> </div> </div> </div> </div> </div> <div class="entry-page"> <div class="entry-page-prev j-lazy" style="background-image: url('https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png');" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/08/92030477-53be-4c04-9b59-1696aac56bb5-480x300.webp"> <a href="https://devops.gitlab.cn/archives/192238" title="前端开发可以进哪些公司" rel="prev"> <span>前端开发可以进哪些公司</span> </a> <div class="entry-page-info"> <span class="pull-left"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-left-double"></use></svg></i> 上一篇</span> <span class="pull-right">2024 年 8 月 28 日</span> </div> </div> <div class="entry-page-next j-lazy" style="background-image: url('https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png');" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/08/534d1b26-d755-4de8-9413-3127a6d7c56c-480x300.webp"> <a href="https://devops.gitlab.cn/archives/192243" title="前端开发面试哪些问题" rel="next"> <span>前端开发面试哪些问题</span> </a> <div class="entry-page-info"> <span class="pull-right">下一篇 <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-right-double"></use></svg></i></span> <span class="pull-left">2024 年 8 月 28 日</span> </div> </div> </div> <div class="entry-related-posts"> <h3 class="entry-related-title">相关推荐</h3><ul class="entry-related cols-3 post-loop post-loop-default"><li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210401" title="前端开发如何涨工资" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端开发如何涨工资" decoding="async" fetchpriority="high" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/2f82c1f7-2b44-4630-b29f-2a2e5a16a08c-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210401" target="_blank" rel="bookmark"> 前端开发如何涨工资 </a> </h3> <div class="item-excerpt"> <p>前端开发如何涨工资? 提高前端开发工资的关键因素包括:技能提升、项目经验、多样化的技术栈、软技能、行业趋势、良好的沟通能力。其中,技能提升是最重要的。通过学习新的前端技术,如Rea…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="5" target="_blank" href="https://devops.gitlab.cn/archives/author/jihu002" class="avatar j-user-card"> <img alt='jihu002' src='//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>jihu002</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210401#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210399" title="如何理解前端开发岗位" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="如何理解前端开发岗位" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/03c50175-afd7-4309-afc1-0cdca3f5b4f0-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210399" target="_blank" rel="bookmark"> 如何理解前端开发岗位 </a> </h3> <div class="item-excerpt"> <p>理解前端开发岗位需要从以下几个核心点入手:用户体验(UX)、界面设计(UI)、交互性、前端技术栈。 用户体验(UX)是前端开发的核心,因为它直接关系到用户在使用网站或应用时的感受和…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="5" target="_blank" href="https://devops.gitlab.cn/archives/author/jihu002" class="avatar j-user-card"> <img alt='jihu002' src='//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>jihu002</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210399#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210397" title="平板如何去开发前端" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="平板如何去开发前端" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/bbd4706a-7bab-4933-9e8f-00d5d6599c61-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210397" target="_blank" rel="bookmark"> 平板如何去开发前端 </a> </h3> <div class="item-excerpt"> <p>平板可以通过连接键盘和鼠标、使用在线代码编辑器、安装本地开发应用等方式进行前端开发。其中,使用在线代码编辑器是最为便捷和高效的方法,您只需打开浏览器,访问如CodePen、JSFi…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="5" target="_blank" href="https://devops.gitlab.cn/archives/author/jihu002" class="avatar j-user-card"> <img alt='jihu002' src='//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>jihu002</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210397#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210395" title="前端开发中如何找人" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端开发中如何找人" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/fceccc12-4a62-4189-8ef0-9a15a2b8f12e-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210395" target="_blank" rel="bookmark"> 前端开发中如何找人 </a> </h3> <div class="item-excerpt"> <p>在前端开发中找人可以通过招聘网站、开发者社区、社交媒体、技术大会等多种途径。招聘网站如LinkedIn和Indeed是找到专业前端开发人员的常用平台,开发者社区如GitHub和St…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="4" target="_blank" href="https://devops.gitlab.cn/archives/author/jihu001" class="avatar j-user-card"> <img alt='小小狐' src='//g.izt6.com/avatar/965a47dbee9076e7ae2954da2a5798bd?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/965a47dbee9076e7ae2954da2a5798bd?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>小小狐</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210395#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210391" title="如何使用vue开发前端" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="如何使用vue开发前端" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/c3c3114e-c8fa-46b1-a8a3-2e86920a4ab3-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210391" target="_blank" rel="bookmark"> 如何使用vue开发前端 </a> </h3> <div class="item-excerpt"> <p>使用Vue开发前端的关键步骤包括:安装和配置Vue项目、组件化开发、使用Vue Router进行路由管理、使用Vuex进行状态管理、与后端API进行交互、优化和部署应用。首先,我们…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="3" target="_blank" href="https://devops.gitlab.cn/archives/author/xiaoxiao" class="avatar j-user-card"> <img alt='xiaoxiao' src='//g.izt6.com/avatar/95ffd0b35c412a1fbd8ac4c83346e795?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/95ffd0b35c412a1fbd8ac4c83346e795?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>xiaoxiao</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210391#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210390" title="如何利用idea开发前端" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="如何利用idea开发前端" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/8bb8da78-881e-4761-a130-5d3c981e45eb-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210390" target="_blank" rel="bookmark"> 如何利用idea开发前端 </a> </h3> <div class="item-excerpt"> <p>利用IDEA开发前端的关键在于:安装必要的插件、配置项目结构、使用版本控制系统、调试和测试代码、优化开发环境。 安装必要的插件是最重要的一步,因为IDEA本身是一个非常强大的IDE…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="5" target="_blank" href="https://devops.gitlab.cn/archives/author/jihu002" class="avatar j-user-card"> <img alt='jihu002' src='//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/30a11b25722c773805ac34c5f8e746ff?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>jihu002</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210390#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210388" title="前端如何开发微信" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端如何开发微信" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/f01ad36b-6101-4499-ac3d-6620104f83df-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210388" target="_blank" rel="bookmark"> 前端如何开发微信 </a> </h3> <div class="item-excerpt"> <p>前端开发微信小程序的核心步骤包括:注册微信小程序账号、安装开发工具、创建项目、编写代码、调试和预览、发布上线。首先需要在微信公众平台上注册一个微信小程序账号,然后安装微信官方提供的…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="4" target="_blank" href="https://devops.gitlab.cn/archives/author/jihu001" class="avatar j-user-card"> <img alt='小小狐' src='//g.izt6.com/avatar/965a47dbee9076e7ae2954da2a5798bd?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/965a47dbee9076e7ae2954da2a5798bd?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>小小狐</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210388#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210387" title="前端开发后台如何协作" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端开发后台如何协作" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/3e8d208a-f618-4965-b6eb-c07c7486f277-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210387" target="_blank" rel="bookmark"> 前端开发后台如何协作 </a> </h3> <div class="item-excerpt"> <p>前端开发与后台的协作主要通过 明确分工、有效沟通、接口设计、版本控制、测试与反馈 来实现。明确分工能够确保每个成员知道自己的职责和任务,有效沟通则能保证团队在项目进展中的信息畅通,…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="6" target="_blank" href="https://devops.gitlab.cn/archives/author/jihu003" class="avatar j-user-card"> <img alt='极小狐' src='//g.izt6.com/avatar/c1ee834fe4d1152269faf20e02fbba54?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/c1ee834fe4d1152269faf20e02fbba54?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>极小狐</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210387#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210383" title="前端如何开发app么" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端如何开发app么" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/8241ddec-5765-4321-bf8b-9e9f1bd2d164-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210383" target="_blank" rel="bookmark"> 前端如何开发app么 </a> </h3> <div class="item-excerpt"> <p>前端开发APP的主要方法包括:使用混合开发框架、使用跨平台开发框架、使用渐进式Web应用程序(PWA)、原生开发。其中,混合开发框架如Ionic和Cordova可以让开发者使用HT…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="2" target="_blank" href="https://devops.gitlab.cn/archives/author/devsecops" class="avatar j-user-card"> <img alt='DevSecOps' src='//g.izt6.com/avatar/784477b59c09d7731bd613f1c9a5555a?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/784477b59c09d7731bd613f1c9a5555a?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>DevSecOps</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210383#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://devops.gitlab.cn/archives/210382" title="大前端如何开发app" target="_blank" rel="bookmark"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="大前端如何开发app" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/1336d905-27e1-46e8-89de-0b1073d72fe2-480x300.webp" /> </a> <a class="item-category" href="https://devops.gitlab.cn/archives/category/qdkf" target="_blank">前端开发</a> </div> <div class="item-content"> <h3 class="item-title"> <a href="https://devops.gitlab.cn/archives/210382" target="_blank" rel="bookmark"> 大前端如何开发app </a> </h3> <div class="item-excerpt"> <p>大前端开发APP可以通过使用跨平台框架、优化性能、关注用户体验、敏捷开发、持续集成和部署等方法来实现。在这些方法中,使用跨平台框架尤其重要,因为它可以显著减少开发时间和成本。跨平台…</p> </div> <div class="item-meta"> <div class="item-meta-li author"> <a data-user="2" target="_blank" href="https://devops.gitlab.cn/archives/author/devsecops" class="avatar j-user-card"> <img alt='DevSecOps' src='//g.izt6.com/avatar/784477b59c09d7731bd613f1c9a5555a?s=60&d=wavatar&r=g' srcset="//g.izt6.com/avatar/784477b59c09d7731bd613f1c9a5555a?s=120&d=wavatar&r=g 2x" class='avatar avatar-60 photo' height='60' width='60' decoding='async'/> <span>DevSecOps</span> </a> </div> <span class="item-meta-li date">10小时前</span> <div class="item-meta-right"> <a class="item-meta-li comments" href="https://devops.gitlab.cn/archives/210382#comments" target="_blank" title="评论数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i>0</a> </div> </div> </div> </li> </ul> </div> <div id="comments" class="entry-comments"> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">发表回复 <small><a rel="nofollow" id="cancel-comment-reply-link" href="/archives/192241#respond" style="display:none;"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></a></small></h3><form action="https://devops.gitlab.cn/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate><p class="comment-notes"><span id="email-notes">您的电子邮箱地址不会被公开。</span> <span class="required-field-message">必填项已用 <span class="required">*</span> 标注</span></p><div class="comment-form-comment"><textarea id="comment" name="comment" class="required" rows="4" placeholder="写下你的评论…"></textarea><div class="comment-form-smile j-smilies" data-target="#comment"><i class="wpcom-icon wi smile-icon"><svg aria-hidden="true"><use xlink:href="#wi-emotion"></use></svg></i></div></div><div class="comment-form-author"><label for="author"><span class="required">*</span>昵称:</label><input id="author" name="author" type="text" value="" size="30" class="required"></div> <div class="comment-form-email"><label for="email"><span class="required">*</span>邮箱:</label><input id="email" name="email" type="text" value="" class="required"></div> <div class="comment-form-url"><label for="url">网址:</label><input id="url" name="url" type="text" value="" size="30"></div> <label class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"> 记住昵称、邮箱和网址,下次评论免输入</label> <div class="form-submit"><button name="submit" type="submit" id="submit" class="btn btn-primary btn-xs submit">提交</button> <input type='hidden' name='comment_post_ID' value='192241' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </div></form> </div><!-- #respond --> </div><!-- .comments-area --> </article> </main> <aside class="sidebar"> <div class="widget ez-toc"><div id="ez-toc-widget-container" class="ez-toc-widget-container ez-toc-v2_0_68_1 ez-toc-widget counter-hierarchy ez-toc-widget-container ez-toc-affix ez-toc-widget-direction"> <h3 class="widget-title"><span> <span class="ez-toc-title-container"> <style> #ezw_tco-3 .ez-toc-title{ font-size: 120%; font-weight: 500; color: #000; } #ezw_tco-3 .ez-toc-widget-container ul.ez-toc-list li.active{ background-color: #ededed; } </style> <span class="ez-toc-title-toggle"> <span class="ez-toc-title " >文章目录</span><a href="#" class="ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle" aria-label="Widget Easy TOC toggle icon"><span style="border: 0;padding: 0;margin: 0;position: absolute !important;height: 1px;width: 1px;overflow: hidden;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);clip-path: inset(50%);white-space: nowrap;">Toggle Table of Content</span><span class=""><span class="eztoc-hide">Toggle</span><span class="ez-toc-icon-toggle-span"></span></span></a> </span> </span> </span></h3> <nav> <ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-1" href="#25E425B8258025E325802581HTML" title="一、HTML">一、HTML</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-2" href="#HTML25E625A0258725E725AD25BE25E52592258C25E525B1259E25E6258025A7" title="HTML标签和属性">HTML标签和属性</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-3" href="#HTML25E62596258725E625A125A325E725BB259325E6259E2584" title="HTML文档结构">HTML文档结构</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-4" href="#25E425BA258C25E325802581CSS" title="二、CSS">二、CSS</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-5" href="#CSS25E92580258925E6258B25A925E5259925A825E52592258C25E825A7258425E525882599" title="CSS选择器和规则">CSS选择器和规则</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-6" href="#CSS25E525B8258325E525B1258025E52592258C25E52593258D25E525BA259425E525BC258F25E825AE25BE25E825AE25A1" title="CSS布局和响应式设计">CSS布局和响应式设计</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-7" href="#25E425B8258925E325802581JavaScript" title="三、JavaScript">三、JavaScript</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-8" href="#JavaScript25E825AF25AD25E625B3259525E52592258C25E5259F25BA25E6259C25AC25E625A6258225E525BF25B5" title="JavaScript语法和基本概念">JavaScript语法和基本概念</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-9" href="#DOM25E62593258D25E425BD259C25E52592258C25E425BA258B25E425BB25B625E525A4258425E725902586" title="DOM操作和事件处理">DOM操作和事件处理</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-10" href="#25E5259B259B25E32580258125E625B5258F25E825A7258825E5259925A825E525BC258025E5258F259125E82580258525E525B725A525E5258525B7" title="四、浏览器开发者工具">四、浏览器开发者工具</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-11" href="#25E52585258325E725B425A025E625A3258025E6259F25A525E52592258C25E525AE259E25E6259725B625E725BC259625E825BE2591" title="元素检查和实时编辑">元素检查和实时编辑</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-12" href="#25E6258E25A725E5258825B625E5258F25B025E52592258C25E825B0258325E825AF2595" title="控制台和调试">控制台和调试</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-13" href="#25E425BA259425E32580258125E5259125BD25E425BB25A425E825A1258C25E525B725A525E5258525B7" title="五、命令行工具">五、命令行工具</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-14" href="#Nodejs25E52592258Cnpm" title="Node.js和npm">Node.js和npm</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-15" href="#Webpack25E52592258C25E5258525B625E425BB259625E6259E258425E525BB25BA25E525B725A525E5258525B7" title="Webpack和其他构建工具">Webpack和其他构建工具</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-16" href="#25E5258525AD25E32580258125E62596258725E6259C25AC25E725BC259625E825BE259125E5259925A825E52592258CIDE" title="六、文本编辑器和IDE">六、文本编辑器和IDE</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-17" href="#25E425BB25A325E725A0258125E825A125A525E5258525A825E52592258C25E825AF25AD25E625B3259525E925AB259825E425BA25AE" title="代码补全和语法高亮">代码补全和语法高亮</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-18" href="#25E925A125B925E7259B25AE25E725AE25A125E72590258625E52592258C25E72589258825E6259C25AC25E6258E25A725E5258825B6" title="项目管理和版本控制">项目管理和版本控制</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-19" href="#25E425B8258325E32580258125E72589258825E6259C25AC25E6258E25A725E5258825B625E725B325BB25E725BB259F" title="七、版本控制系统">七、版本控制系统</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-20" href="#Git25E5259F25BA25E725A1258025E62593258D25E425BD259C" title="Git基础操作">Git基础操作</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-21" href="#25E52588258625E6259425AF25E52592258C25E52590258825E525B925B6" title="分支和合并">分支和合并</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-22" href="#25E5258525AB25E32580258125E52589258D25E725AB25AF25E625A1258625E6259E25B625E52592258C25E525BA2593" title="八、前端框架和库">八、前端框架和库</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-23" href="#React" title="React">React</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-24" href="#Vue" title="Vue">Vue</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-25" href="#Angular" title="Angular">Angular</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-26" href="#25E425B9259D25E325802581API25E525B725A525E5258525B725E52592258C25E625B5258B25E825AF259525E525B725A525E5258525B7" title="九、API工具和测试工具">九、API工具和测试工具</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-27" href="#Postman" title="Postman">Postman</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-28" href="#Jest" title="Jest">Jest</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-29" href="#Cypress" title="Cypress">Cypress</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-30" href="#25E5258D258125E32580258125E425BB25A325E725A0258125E825B425A825E92587258F25E52592258C25E6258025A725E8258325BD25E425BC259825E5258C2596" title="十、代码质量和性能优化">十、代码质量和性能优化</a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-31" href="#ESLint25E52592258CPrettier" title="ESLint和Prettier">ESLint和Prettier</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-32" href="#Lighthouse" title="Lighthouse">Lighthouse</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-33" href="#25E425BC259825E5258C259625E825B5258425E625BA259025E5258A25A025E825BD25BD" title="优化资源加载">优化资源加载</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class="ez-toc-link ez-toc-heading-34" href="#25E7259B25B825E5258525B325E9259725AE25E725AD2594FAQs25EF25BC259A" title="相关问答FAQs:">相关问答FAQs:</a></li></ul></nav> </div> </div><div class="widget widget_lastest_products"> <ul class="p-list"> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210401"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端开发如何涨工资" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/2f82c1f7-2b44-4630-b29f-2a2e5a16a08c-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210401" title="前端开发如何涨工资"> 前端开发如何涨工资 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210399"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="如何理解前端开发岗位" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/03c50175-afd7-4309-afc1-0cdca3f5b4f0-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210399" title="如何理解前端开发岗位"> 如何理解前端开发岗位 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210397"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="平板如何去开发前端" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/bbd4706a-7bab-4933-9e8f-00d5d6599c61-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210397" title="平板如何去开发前端"> 平板如何去开发前端 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210395"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端开发中如何找人" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/fceccc12-4a62-4189-8ef0-9a15a2b8f12e-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210395" title="前端开发中如何找人"> 前端开发中如何找人 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210391"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="如何使用vue开发前端" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/c3c3114e-c8fa-46b1-a8a3-2e86920a4ab3-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210391" title="如何使用vue开发前端"> 如何使用vue开发前端 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210390"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="如何利用idea开发前端" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/8bb8da78-881e-4761-a130-5d3c981e45eb-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210390" title="如何利用idea开发前端"> 如何利用idea开发前端 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210388"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端如何开发微信" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/f01ad36b-6101-4499-ac3d-6620104f83df-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210388" title="前端如何开发微信"> 前端如何开发微信 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210387"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端开发后台如何协作" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/3e8d208a-f618-4965-b6eb-c07c7486f277-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210387" title="前端开发后台如何协作"> 前端开发后台如何协作 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210383"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="前端如何开发app么" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/8241ddec-5765-4321-bf8b-9e9f1bd2d164-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210383" title="前端如何开发app么"> 前端如何开发app么 </a> </h4> </div> </li> <li class="col-xs-24 col-md-12 p-item"> <div class="p-item-wrap"> <a class="thumb" href="https://devops.gitlab.cn/archives/210382"> <img width="480" height="300" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="大前端如何开发app" decoding="async" data-original="https://cos.gitlab.cn/wp-content/uploads/2024/09/1336d905-27e1-46e8-89de-0b1073d72fe2-480x300.webp" /> </a> <h4 class="title"> <a href="https://devops.gitlab.cn/archives/210382" title="大前端如何开发app"> 大前端如何开发app </a> </h4> </div> </li> </ul> </div><div class="widget widget_qapress_list"> <ul> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78236.html" title="沈阳软件后端开发多少钱"> 沈阳软件后端开发多少钱 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78235.html" title="微信小程序如何开发后端"> 微信小程序如何开发后端 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78232.html" title="如何做线上商城后端开发"> 如何做线上商城后端开发 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78230.html" title="如何用spring进行后端开发"> 如何用spring进行后端开发 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78227.html" title="后端开发语言都有哪些类型的软件"> 后端开发语言都有哪些类型的软件 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78217.html" title="蚌埠后端开发招聘岗位有哪些"> 蚌埠后端开发招聘岗位有哪些 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78216.html" title="后端开发包含哪些语言要素"> 后端开发包含哪些语言要素 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78215.html" title="网站开发后端有哪些"> 网站开发后端有哪些 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78214.html" title="证券后端开发方向有哪些"> 证券后端开发方向有哪些 </a> </li> <li> <a target="_blank" href="https://devops.gitlab.cn/qapress/78211.html" title="web前端后端怎么开发"> web前端后端怎么开发 </a> </li> </ul> </div> </aside> </div> </div> <footer class="footer"> <div class="container"> <div class="footer-col-wrap footer-with-logo-icon"> <div class="footer-col footer-col-logo"> <img src="https://cos.gitlab.cn/wp-content/uploads/2024/08/logo.webp" alt="DevOps 技术大全"> </div> <div class="footer-col footer-col-copy"> <div class="copyright"> <p>极狐GitLab:<a href="https://dl.gitlab.cn/b7pubqxh">一体化DevOps 平台</a> <a href="https://dl.gitlab.cn/l3qdwumk">敏捷项目管理</a> <a href="https://dl.gitlab.cn/ukd74mj8">源代码托管</a> <a href="https://dl.gitlab.cn/bxt0orb4">CI/CD</a> <a href="https://dl.gitlab.cn/3y7198kb">安全合规</a> <a href="https://dl.gitlab.cn/kcel9kel">AIGC</a></p> <p>ICP:<a class="mitt-text beian-icp" href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank" rel="nofollow noopener">鄂ICP备2021008419号-1</a><span class="vertical-divider mitt-text"> <a class="beian-gov" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42018502006137" target="_blank" rel="nofollow noopener"><img src="https://coderider.gitlab.cn/images/beian.png" width="20" height="20" /><span class="mitt-text">鄂公网安备42018502006137号</span></a></span></p> </div> </div> <div class="footer-col footer-col-sns"> <div class="footer-sns"> <a class="sns-wx" href="javascript:;" aria-label="icon"> <i class="wpcom-icon fa fa-wechat sns-icon"></i> <span style="background-image:url('https://cos.gitlab.cn/wp-content/uploads/2024/06/qrcode_for_gh_c43cb98908fc_430-2.jpg');"></span> </a> <a class="sns-wx" href="javascript:;" aria-label="icon"> <i class="wpcom-icon fa fa-comment sns-icon"></i> <span style="background-image:url('https://cos.gitlab.cn/wp-content/uploads/2024/06/qrcode_for_gh_c43cb98908fc_430-2.jpg');"></span> </a> <a href="https://space.bilibili.com/2099384996?spm_id_from=333.1007.0.0" aria-label="icon"> <i class="wpcom-icon fa fa-video-camera sns-icon"></i> </a> <a href="https://weibo.com/u/7877143796" aria-label="icon"> <i class="wpcom-icon fa fa-weibo sns-icon"></i> </a> </div> </div> </div> </div> </footer> <div class="action action-style-1 action-color-1 action-pos-1" style="bottom:20%;"> <a class="action-item" href="https://dl.gitlab.cn/56ck6sd6"> <i class="wpcom-icon fa fa-folder-open action-item-icon"></i> <span>GitLab下载安装</span> </a> <div class="action-item"> <i class="wpcom-icon fa fa-wechat action-item-icon"></i> <span>联系站长</span> <div class="action-item-inner action-item-type-1"> <img class="action-item-img" src="https://cos.gitlab.cn/wp-content/uploads/2024/08/xiaomage-3.webp" alt="联系站长"> </div> </div> <div class="action-item j-share"> <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> <span>分享本页</span> </div> <div class="action-item gotop j-top"> <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-arrow-up-2"></use></svg></i> <span>返回顶部</span> </div> </div> <script type="text/javascript" id="main-js-extra"> /* <![CDATA[ */ var _wpcom_js = {"webp":"","ajaxurl":"https:\/\/devops.gitlab.cn\/wp-admin\/admin-ajax.php","theme_url":"https:\/\/devops.gitlab.cn\/wp-content\/themes\/justnews","slide_speed":"5000","is_admin":"0","lang":"zh_CN","js_lang":{"share_to":"\u5206\u4eab\u5230:","copy_done":"\u590d\u5236\u6210\u529f\uff01","copy_fail":"\u6d4f\u89c8\u5668\u6682\u4e0d\u652f\u6301\u62f7\u8d1d\u529f\u80fd","confirm":"\u786e\u5b9a","qrcode":"\u4e8c\u7ef4\u7801","page_loaded":"\u5df2\u7ecf\u5230\u5e95\u4e86","no_content":"\u6682\u65e0\u5185\u5bb9","load_failed":"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","expand_more":"\u9605\u8bfb\u5269\u4f59 %s"},"share":"1","share_items":{"wechat":{"title":"\u5fae\u4fe1","icon":"wechat"},"mail":{"title":"\u90ae\u4ef6","icon":"mail-fill"},"weibo":{"title":"\u5fae\u535a","icon":"weibo"},"qq":{"title":"QQ\u597d\u53cb","icon":"qq"},"linkedin":{"title":"LinkedIn","icon":"linkedin"}},"lightbox":"1","post_id":"192241","user_card_height":"308","poster":{"notice":"\u8bf7\u300c\u70b9\u51fb\u4e0b\u8f7d\u300d\u6216\u300c\u957f\u6309\u4fdd\u5b58\u56fe\u7247\u300d\u540e\u5206\u4eab\u7ed9\u66f4\u591a\u597d\u53cb","generating":"\u6b63\u5728\u751f\u6210\u6d77\u62a5\u56fe\u7247...","failed":"\u6d77\u62a5\u56fe\u7247\u751f\u6210\u5931\u8d25"},"video_height":"484","fixed_sidebar":"1","dark_style":"0","font_url":"\/\/cos.gitlab.cn\/wp-content\/uploads\/wpcom\/fonts.f5a8b036905c9579.css","user_card":"1"}; /* ]]> */ </script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/themes/justnews/js/main.js?ver=6.18.1" id="main-js"></script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/js/icons-2.7.19.js?ver=6.18.1" id="wpcom-icons-js"></script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/themes/justnews/themer/assets/js/comment-reply.js?ver=6.18.1" id="comment-reply-js"></script> <script type="text/javascript" id="wwa-js-extra"> /* <![CDATA[ */ var _wwa_js = {"ajaxurl":"https:\/\/devops.gitlab.cn\/wp-admin\/admin-ajax.php","post_id":"192241","rewarded":""}; /* ]]> */ </script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/plugins/justweapp/js/script.js?ver=3.14.2" id="wwa-js"></script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/plugins/easy-table-of-contents/vendor/js-cookie/js.cookie.min.js?ver=2.2.1" id="ez-toc-js-cookie-js"></script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/plugins/easy-table-of-contents/vendor/sticky-kit/jquery.sticky-kit.min.js?ver=1.9.2" id="ez-toc-jquery-sticky-kit-js"></script> <script type="text/javascript" id="ez-toc-js-js-extra"> /* <![CDATA[ */ var ezTOC = {"smooth_scroll":"","visibility_hide_by_default":"","scroll_offset":"30","fallbackIcon":"<i class=\"ez-toc-toggle-el\"><\/i>","chamomile_theme_is_on":""}; /* ]]> */ </script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/plugins/easy-table-of-contents/assets/js/front.min.js?ver=2.0.68.1-1723614673" id="ez-toc-js-js"></script> <script type="text/javascript" id="wpcom-member-js-extra"> /* <![CDATA[ */ var _wpmx_js = {"ajaxurl":"https:\/\/devops.gitlab.cn\/wp-admin\/admin-ajax.php","plugin_url":"https:\/\/devops.gitlab.cn\/wp-content\/plugins\/wpcom-member\/","post_id":"192241","js_lang":{"login_desc":"\u60a8\u8fd8\u672a\u767b\u5f55\uff0c\u8bf7\u767b\u5f55\u540e\u518d\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\uff01","login_title":"\u8bf7\u767b\u5f55","login_btn":"\u767b\u5f55","reg_btn":"\u6ce8\u518c"},"login_url":"https:\/\/devops.gitlab.cn\/wp-login.php","register_url":"https:\/\/devops.gitlab.cn\/wp-login.php?action=register","captcha_label":"\u70b9\u51fb\u8fdb\u884c\u4eba\u673a\u9a8c\u8bc1","captcha_verified":"\u9a8c\u8bc1\u6210\u529f","errors":{"require":"\u4e0d\u80fd\u4e3a\u7a7a","email":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u5b50\u90ae\u7bb1","pls_enter":"\u8bf7\u8f93\u5165","password":"\u5bc6\u7801\u5fc5\u987b\u4e3a6~32\u4e2a\u5b57\u7b26","passcheck":"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u4e00\u81f4","phone":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\u7801","terms":"\u8bf7\u9605\u8bfb\u5e76\u540c\u610f\u6761\u6b3e","sms_code":"\u9a8c\u8bc1\u7801\u9519\u8bef","captcha_verify":"\u8bf7\u70b9\u51fb\u6309\u94ae\u8fdb\u884c\u9a8c\u8bc1","captcha_fail":"\u4eba\u673a\u9a8c\u8bc1\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5","nonce":"\u968f\u673a\u6570\u6821\u9a8c\u5931\u8d25","req_error":"\u8bf7\u6c42\u5931\u8d25"}}; /* ]]> */ </script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/plugins/wpcom-member/js/index.js?ver=1.5.2.1" id="wpcom-member-js"></script> <script type="text/javascript" id="QAPress-js-js-extra"> /* <![CDATA[ */ var QAPress_js = {"ajaxurl":"https:\/\/devops.gitlab.cn\/wp-admin\/admin-ajax.php","ajaxloading":"https:\/\/devops.gitlab.cn\/wp-content\/plugins\/qapress\/images\/loading.gif","max_upload_size":"2097152","compress_img_size":"1920","lang":{"delete":"\u5220\u9664","nocomment":"\u6682\u65e0\u56de\u590d","nocomment2":"\u6682\u65e0\u8bc4\u8bba","addcomment":"\u6211\u6765\u56de\u590d","submit":"\u53d1\u5e03","loading":"\u6b63\u5728\u52a0\u8f7d...","error1":"\u53c2\u6570\u9519\u8bef\uff0c\u8bf7\u91cd\u8bd5","error2":"\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","confirm":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u5e76\u5c06\u540c\u65f6\u5220\u9664\u5f53\u524d\u56de\u590d\u7684\u8bc4\u8bba\u4fe1\u606f\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","confirm2":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","confirm3":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u5e76\u5c06\u540c\u65f6\u5220\u9664\u5f53\u524d\u95ee\u9898\u7684\u56de\u590d\u8bc4\u8bba\u4fe1\u606f\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","deleting":"\u6b63\u5728\u5220\u9664...","success":"\u64cd\u4f5c\u6210\u529f\uff01","denied":"\u65e0\u64cd\u4f5c\u6743\u9650\uff01","error3":"\u64cd\u4f5c\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","empty":"\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a","submitting":"\u6b63\u5728\u63d0\u4ea4...","success2":"\u63d0\u4ea4\u6210\u529f\uff01","ncomment":"0\u6761\u8bc4\u8bba","login":"\u62b1\u6b49\uff0c\u60a8\u9700\u8981\u767b\u5f55\u624d\u80fd\u8fdb\u884c\u56de\u590d","error4":"\u63d0\u4ea4\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","need_title":"\u8bf7\u8f93\u5165\u6807\u9898","need_cat":"\u8bf7\u9009\u62e9\u5206\u7c7b","need_content":"\u8bf7\u8f93\u5165\u5185\u5bb9","success3":"\u66f4\u65b0\u6210\u529f\uff01","success4":"\u53d1\u5e03\u6210\u529f\uff01","need_all":"\u6807\u9898\u3001\u5206\u7c7b\u548c\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a","length":"\u5185\u5bb9\u957f\u5ea6\u4e0d\u80fd\u5c11\u4e8e10\u4e2a\u5b57\u7b26","load_done":"\u56de\u590d\u5df2\u7ecf\u5168\u90e8\u52a0\u8f7d","load_fail":"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","load_more":"\u70b9\u51fb\u52a0\u8f7d\u66f4\u591a","approve":"\u786e\u5b9a\u8981\u5c06\u5f53\u524d\u95ee\u9898\u8bbe\u7f6e\u4e3a\u5ba1\u6838\u901a\u8fc7\u5417\uff1f","end":"\u5df2\u7ecf\u5230\u5e95\u4e86","upload_fail":"\u56fe\u7247\u4e0a\u4f20\u51fa\u9519\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","file_types":"\u4ec5\u652f\u6301\u4e0a\u4f20jpg\u3001png\u3001gif\u683c\u5f0f\u7684\u56fe\u7247\u6587\u4ef6","file_size":"\u56fe\u7247\u5927\u5c0f\u4e0d\u80fd\u8d85\u8fc72M","uploading":"\u6b63\u5728\u4e0a\u4f20...","upload":"\u63d2\u5165\u56fe\u7247"}}; /* ]]> */ </script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/plugins/qapress/js/qa.js?ver=4.9.5" id="QAPress-js-js"></script> <script type="text/javascript" src="https://cos.gitlab.cn/wp-content/themes/justnews/js/wp-embed.js?ver=6.18.1" id="wp-embed-js"></script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "@id": "https://devops.gitlab.cn/archives/192241", "url": "https://devops.gitlab.cn/archives/192241", "headline": "前端开发原生工具有哪些", "image": "https://cos.gitlab.cn/wp-content/uploads/2024/08/fd6c668d-0695-4bc6-bc91-08f3347cc7d5.webp", "description": "在前端开发中,原生工具包括HTML、CSS、JavaScript、浏览器开发者工具、命令行工具等。其中,浏览器开发者工具尤为重要,因为它不仅提供了调试代码的功能,还可以实时查看和修…", "datePublished": "2024-08-28T21:31:08+08:00", "dateModified": "2024-08-28T21:31:09+08:00", "author": {"@type":"Person","name":"xiaoxiao","url":"https://devops.gitlab.cn/archives/author/xiaoxiao","image":"//g.izt6.com/avatar/95ffd0b35c412a1fbd8ac4c83346e795?s=96&d=wavatar&r=g"} } </script> </body> </html> <!-- Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/ Page Caching using Disk: Enhanced Content Delivery Network via cos.gitlab.cn Served from: devops.gitlab.cn @ 2024-09-21 03:15:28 by W3 Total Cache -->