Author avatar

Jiang

[Rust] 迭代器

1

For循环 方法 所有权

vscode打开svg文件无法编辑

2

去设置 搜索:workbench.editorAssociations 点击添加项目: 键:*.svg 值:defaulthttps://www.reddit.com/r/vscode/comments/1ibntfy/svg_files_

[Uniapp] 解决微信小程序主包过大

4

页面分包:主包仅保留默认「启动页/TabBar页」,其他页面模块均迁移至分包 图片资源优化:上传本地资源,并通过Babel插件实现本地资源替换为网络地址。 公共模块分包:Taro项目配置mini.optimizeMainPackage,将主包未使用的公共模块打包至对应分包。 能优化的都优化了,完蛋没

全局使用cz-git

5

全局安装的好处在于:在任何项目下都可以利用 cz 或 git cz 命令启动命令行工具,生成标准化 commit message 只需要简单的三个步骤: 步骤 1: 下载全局依赖 npm in

Vue项目工程化

1

Vue3+ Vite + Element-Plus + TypeScript 从0到1搭建企业级后台管理系统(前后端开源) - 掘金 (2025_4_19 17:13:00).html<

[Tauri] Integrated update plug-ins 集成更新插件

9

文档地址:https://v2.tauri.app/zh-cn/plugin/updater/ 一、添加Cargo.toml依赖 /src-tauri/Cargo.toml [target.'cfg(target_os = "windows")'.dependencies] tauri-plugi

[Vue] 一种全新的弹窗写法!

6

<script lang="ts" setup> import { ElDialog, ElButton } from 'element-plus'; // 上传类型Ref const gatherUploadRef = ref<HTMLElement>(); // 2 , 3 // 切换上传类型

[Tauri] Command Line Interface 命令行界面

7

我需要更改Tauri的默认图标,查阅文档发现可以使用tauri icon 进行批量生成,要求是正方形的png或者svg文件,命令默认选取的文件路径为 ./app-icon.png。 文档地址:https://v2.tauri.app/reference/cli/#icon 我的命令:npm run

[Tauri] Set System Tray 系统托盘

1

//systemTray.ts import { TrayIcon, TrayIconEvent } from "@tauri-apps/api/tray"; import { defaultWindowIcon } from "@tauri-apps/api/app"; import { Win

[Tauri] Window Customization 窗口自定义

9

这是使用默认标题栏的样子,我想要把左上角的图标去掉。 Tauri文档地址:https://v2.tauri.app/zh-cn/learn/window-customization/#tauriconfjson