msw教程
1pnpm add -D @graphql-codegen/cli @graphql-codegen/typescript @graphql-codegen/typescript-msw @graphql-codegen/typescript-operations msw @graphql-tools/utils 123pnpm add @urql/vue graphql graphql-tagpnpm add graphql graphql-tag Ensure mockServiceWorker.js is in your public directory.1npx msw init public/ codegen.ts 1234567891011121314151617181920// codegen.tsimport type { CodegenConfig } from "@graphql-codegen/cli";const config: CodegenConfig = { schema:...
pnpm Build Error
你遇到的报错: 1 ERR_PNPM_MISSING_HOISTED_LOCATIONS msw@2.8.7(@types/node@22.15.29)(typescript@5.8.3) is not found in hoistedLocations inside node_modules/.modules.yaml 这是一种 pnpm 特有的依赖结构错误,我们来逐步解释: 🧠 一句话解释你在构建 msw@2.8.7 包时,pnpm 试图根据 .modules.yaml 的记录来定位依赖(比如 @types/node 和 typescript),但它 在 node_modules 的 hoisted 记录中找不到这些依赖的位置。 这通常是由以下几种情况引起: 📋 可能原因1. 旧版 pnpm 安装生成的 node_modules 错误提示已经说明了: 💬 “If you installed your node_modules with pnpm older than v7.19.0…” pnpm 的 hoisting 机制在 7.19.0...
systemctl
服务管理 设置开机自启, 并立即启动服务。systemctl enable –now hysteria-server.service 重启服务, 通常在修改配置文件后执行。systemctl restart hysteria-server.service 查询服务状态。systemctl status hysteria-server.service systemctl stop hysteria-server.service sudo systemctl status shadowsocks-libev
yt-dlp 命令列表
yt-dlp 是一个强大的命令行工具,用于下载 YouTube 和其他视频网站的音视频资源。 下面是 yt-dlp 的常用命令参数列表和详解(已按用途分类): 🌐 基本用法1yt-dlp [OPTIONS] URL 示例: 1yt-dlp https://www.youtube.com/watch?v=dQw4w9WgXcQ 🎯 下载选项 参数 说明 -f 或 --format 指定视频/音频格式(详细见下方格式选择) -o 或 --output 自定义输出文件名和路径,例如 -o "%(title)s.%(ext)s" --download-sections 下载特定时间段,例如 "*00:01:00-00:02:00" --playlist-items 指定播放列表中的具体项,如 --playlist-items...
Wasteland频道一览
频道一览 以后就只有在线版本了,防炸,不过暂时是没更新链接 TG系列TG机器人推荐 (https://t.me/edge_wasteland/216)TG机器人推荐第二弹 (https://t.me/edge_wasteland/1431)TG频道分享汇总TG频道分享,资源向 (https://t.me/edge_wasteland/220)TG技术频道汇总 (https://t.me/edge_wasteland/835)TG二次元频道分享TG涩涩频道汇总1 (https://t.me/edge_wasteland/222)TG涩涩频道汇总2 (https://t.me/edge_wasteland/1214)TG涩涩频道汇总·分类版 (https://t.me/edge_wasteland/1215)贴纸帖汇总贴纸包汇总01 (https://t.me/edge_wasteland/790)贴纸包汇总02(动态) (https://t.me/edge_wasteland/793)贴纸包汇总03 涩涩 ...
0406 Channel Backup and Edge Canary
Channel BackupEdge Canary吾辈是今天才知道手机端插件是可以通过ID安装的呀,所以转而去使用了 Edge Canary, 目前体验算是很不错。 问题但是也确实有一些问题 全屏模式退出后出现底栏:可以通过在 地址栏下滑 打开 tab 选项卡再选择刚刚浏览的页面 解除底栏的错误渲染
Windows上好用的工具软件
Default Programs Editor修改文件类型的图标,自定义图标若你要更細緻地控制「預設程式用 Okular 開啟,但圖示仍使用原來的圖示」,可以用以下工具: 工具:Default Programs Editor(免費、小巧) 下載地址(開源工具):https://defaultprogramseditor.com/ 使用步驟: 安裝並啟動 Default Programs Editor 選擇 File Type Settings 選擇 .pdf 你可以: 變更開啟方式(使用 Okular) 保留現有圖示或選擇其他圖示 🎨 這樣你可以讓 .pdf 還是顯示 Adobe 或 Sumatra 的圖示,但實際用 Okular 開啟。 Aspose.PDF
Volta的安装和使用
https://volta.sh/
Wasteland频道标签
频道标签:(完整版)| Online Version个人向#Life #好玩 #不好玩 #这个世界的悲伤 #哲学 #碎碎念 #日常 #Diary #节日#写作 #诗歌 #原创 #code #bug #求助 娱乐、艺术向#每日の图 #图 (非艺术类分享图片) #GIF #打包 #视频#典藏 #可爱 #风景 #白毛 #猫娘 #天使 #帅气 #萝莉 #大姐姐 #百合 #AI#NSFW #本子 #小穴 #おっぱい #颜艺#风格 #古风 #线条 #抽象 三次元#三次元 音乐#Music 游戏#Game #MC #地图 动漫#动漫 #孤独摇滚 杂项、资源#网站 #tor #工具 #软件 #教程 #资源 科学#科普 #天文
ChatGPT_GraphQL Client and Server Choose
Apollo GraphQL Version UpdateYou:is Apollo GraphQL out of date ChatGPT:Apollo GraphQL is an actively maintained platform, with its latest version being Apollo Server 4. Earlier versions, such as Apollo Server 2 and 3, have reached their end-of-life dates and are no longer officially supported. citeturn0search2 To benefit from the latest features, improvements, and security updates, it’s recommended to upgrade to Apollo Server 4. Detailed migration guides are available to assist...