上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 496 下一页
摘要: 项目风格统一 在前端项目中存在.vscode文件夹,文件夹下一般存在两个文件extensions.json和setting.json。作用是保持所有开发者安装了相同的插件和相同的配置,保持开发环境一致性。 extensions.json 在当前项目中,需要安装哪些插件。 { "recommendat 阅读全文
posted @ 2025-02-09 23:38 Zhentiw 阅读(48) 评论(0) 推荐(0)
摘要: AJAX 就是指在web应用程序中异步向服务器发送请求。 它的实现方式有两种,XMLHttpRequest 简称XHR和Fetch 以下是两者的对比 功能点 XHR Fetch 基本的请求能力 ✅ ✅ 基本的获取响应能力 ✅ ✅ 监控请求进度 ✅ ❌ 监控响应进度 ✅ ✅ Service Worke 阅读全文
posted @ 2025-02-09 23:22 Zhentiw 阅读(24) 评论(0) 推荐(0)
摘要: An absolute URL - points to another web site (like href="http://www.example.com/default.htm") A relative URL - points to a file within a web site (lik 阅读全文
posted @ 2025-02-06 14:37 Zhentiw 阅读(15) 评论(0) 推荐(0)
摘要: 使用Vite模板vue-ts. https://github.com/vitejs/vite/tree/main/packages/create-vite 一个组件在没加入Lodash之前: 当加入lodash之后,会自动把它加入到.vite/deps中去: 假如不用依赖构建 vite.config 阅读全文
posted @ 2025-02-06 03:45 Zhentiw 阅读(46) 评论(0) 推荐(0)
摘要: HTTP的消息格式是一种纯文本的格式,文本分为三个部分: 请求行 请求头 请求体 具体每一部分写什么内容,要看具体的服务要求 试一试 有非常多的工具可以发送http请求,这里推荐一个非常直观的工具 安装vscode插件REST Clinet 新建文件xxx.http 编写请求文本 POST /api 阅读全文
posted @ 2025-02-06 02:01 Zhentiw 阅读(34) 评论(0) 推荐(0)
摘要: https://cn.vitejs.dev/guide/env-and-mode#env-variables-and-modes 添加额外的环境变量 .env #标题 VITE_APP_TITLE='Vite App' #端口 VITE_PORT=5173 #是否自动打开浏览器 VITE_OPEN= 阅读全文
posted @ 2025-02-05 03:07 Zhentiw 阅读(92) 评论(0) 推荐(0)
摘要: As we explore the Nuxt ecosystem, another valuable resource we’ll be taking a look at is Nuxt Middleware. Nuxt provides us with two types of middlewar 阅读全文
posted @ 2025-02-04 21:23 Zhentiw 阅读(61) 评论(0) 推荐(0)
摘要: Performance is vital for the long-term success of a modern web application as it impacts things like SEO, user experience, engagement, and conversion 阅读全文
posted @ 2025-02-04 21:14 Zhentiw 阅读(70) 评论(0) 推荐(0)
摘要: This course is based on our Coding Better Composables blog series authored by Michael Thiessen. If you can get async code to work correctly, it can si 阅读全文
posted @ 2025-02-04 15:51 Zhentiw 阅读(28) 评论(0) 推荐(0)
摘要: This course is based on our Coding Better Composables blog series authored by Michael Thiessen. The composable you wrote last month returns an object, 阅读全文
posted @ 2025-02-04 15:35 Zhentiw 阅读(20) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 496 下一页