Results 10 comments of bhuh12

暂时可以使用 github 方式安装 ```bash npm install -g Pana/nrm ```

试试看设置 `max-alive` 最大缓存数是否起作用 ```html ``` 参考:[缓存控制 - 最大缓存数](https://bhuh12.gitee.io/vue-router-tab/zh/guide/advanced/cache.html#%E6%9C%80%E5%A4%A7%E7%BC%93%E5%AD%98%E6%95%B0) 我在 Demo 里打开 60 个简单的页面试了下,关闭其他页签速度还行。 你可以用浏览器的性能工具看看是哪里执行比较久,是否组件卸载钩子执行了额外的任务。 ![关闭其他测试](https://user-images.githubusercontent.com/9862292/189042482-25d6d528-0977-414b-9a3d-37fbd9d41706.gif) ![性能截图](https://user-images.githubusercontent.com/9862292/189042447-31fc7d21-d5d2-4fa0-aa90-bd7fe5ac2810.png)

暂时没太多精力,后续有时间肯定会开发vue3版本的

使用指定的版本暂未重现问题,可否提供重现问题的最简可运行的项目 git?

https://bhuh12.github.io/vue-router-tab/guide/essentials/rule.html#fullpath ```js const route = { path: '/page', component: MyPage, meta: { title: 'Page', key: 'fullPath' } } ``` ```html New Page ```

暂未支持,后续可以添加该功能

I don't have the energy to continue developing the vue 3.x version of vue-router-tab. The routing cache at the core of this requirement has been basically implemented. Reference: https://gitee.com/bhuh12/router-tab-next/blob/main/src/RouterAlive.vue. 我没有精力继续开发...

更新下最新版本有这个问题吗? vue router升级下vue2下的最新版本呢? 是否使用了自定义页签插槽?

页签项这里用到了 RouterLink 的自定义标签和作用域插槽 不能兼容 vue-router 早期版本的原因:vue-router RouterLink 自定义标签的方式有变更,使用旧版 `tag` 属性会警告 **早期版本的写法** ```html 链接 ``` **新版本写法** ```html 链接 ``` 参考变更:https://github.com/bhuh12/vue-router-tab/commit/d969248b892e01a61fd3fe85ca75a52824a32cd2

暂时未找到你说的场景,在下面的地址能重现吗? https://bhuh12.gitee.io/vue-router-tab/demo/#/initial-tabs/iframe/https%3A%2F%2Fcn.vuejs.org/Vue.js/rt-icon-web