Why is the activated in keep-alive triggered twice when keep-alive is used in vue?:Vue.js,vue-router,antd-vue
![Yes, this is how to cache pages by url with Vue, Vue Router and Keep Alive | by @maisonfutari | ITNEXT Yes, this is how to cache pages by url with Vue, Vue Router and Keep Alive | by @maisonfutari | ITNEXT](https://miro.medium.com/fit/c/184/184/1*4xEfiWyCVJkOmhDoP_jzlA.gif)
Yes, this is how to cache pages by url with Vue, Vue Router and Keep Alive | by @maisonfutari | ITNEXT
![Read the Vue-router source code with questions and implement the mini version of vue-router from 0 to 1. - Code World Read the Vue-router source code with questions and implement the mini version of vue-router from 0 to 1. - Code World](https://img-blog.csdnimg.cn/20200823205513328.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODYxNjg1MA==,size_16,color_FFFFFF,t_70)
Read the Vue-router source code with questions and implement the mini version of vue-router from 0 to 1. - Code World
![There is no component name in the vue3 <script setup> method, how to use keep-alive for caching? - vue-router - Vue Forum There is no component name in the vue3 <script setup> method, how to use keep-alive for caching? - vue-router - Vue Forum](https://forum.vuejs.org/uploads/default/original/3X/c/2/c224d82c4cb9ab917488ef44d2ba36271427333e.png)
There is no component name in the vue3 <script setup> method, how to use keep-alive for caching? - vue-router - Vue Forum
keep-alive deeply nested router-views display the last visited component component · Issue #2923 · vuejs/vue-router · GitHub
![nested keep-alive and router-view render last route path component not current route component · Issue #3096 · vuejs/vue-router · GitHub nested keep-alive and router-view render last route path component not current route component · Issue #3096 · vuejs/vue-router · GitHub](https://user-images.githubusercontent.com/37615488/72230539-2907f800-35f1-11ea-99d2-f6a0cf1921be.gif)