程序员茄子
全部
编程
代码
资讯
案例
综合
联系我们
前端升级 相关技术文章
php
mysql
shell
go
vue
css
api接口对接
支付接口对接
把 Vue 2 老项目搬上 Vue 3:@vue/compat 迁移层、Vite 白屏与 7 步上线顺序
编程
把 Vue 2 老项目搬上 Vue 3:@vue/compat 迁移层、Vite 白屏与 7 步上线顺序
2026-10-25 00:04:22
Vue 2 已于 2023-12-31 EOL,真正拖时间的是插件生态与工具链。本文给出「Vue 2 语法 + Vue 3 引擎」的最小可交付目标,拆解 @vue/compat 迁移构建、Vite 下 alias 导致白屏的修法,以及 filters、$listeners、slot-scope、Vue.set、事件总线等六类移除 API 的分型对照,最后是一套可回滚的 7 步升级顺序。
前端升级
Vue
Vue3
迁移
前端工程
VueUse v15 升级笔记:templateRef 被删、timer 换成 scheduler,还有 6 处会改行为的变更
编程
VueUse v15 升级笔记:templateRef 被删、timer 换成 scheduler,还有 6 处会改行为的变更
2026-10-20 00:04:32
面向已在生产使用 Vue 3 + VueUse 的项目:v15 要求 Vue 3.5、Node 22,templateRef 移除改用 useTemplateRef,timer 选项统一为 scheduler,useThrottleFn 的 trailing 默认改为 true,useEventSource 的 message 事件与 useIDBKeyval 跨标签页同步都会改变现有行为。逐项给出改法与回归顺序。
VueUse
Vue3
组合式函数
前端升级
大家都在搜索什么?
devops
易支付
一个官网+多少钱
统一接受回调
统一回调
python
sub
node
宝塔日志
mysql
shell
ElasticSearch
css
vue
api接口对接
2025
支付接口对接
go
php
php回调