当前位置:网站首页>How to dynamically cache components in Vue multi-level route nesting
How to dynamically cache components in Vue multi-level route nesting
2022-07-04 03:48:00 【CSDN Q & A】
It's like this 3 A page app.vue,home.vue,homework.vue
app.vue -> home -> homework3 Pages belong to the nested relationship of routes
I want to cache homework, Yes, just in app Inside include Join in homework Of name, Still need to be in app and home Page include Add it all ?
app.vue
<keep-alive include="homework"> <router-view></router-view></keep-alive>home.vue
<router-view></router-view><van-tabbar-item name=" The workbench " to="/homework" icon="qr"> The workbench </van-tabbar-item>homework.vue
边栏推荐
- 用于TCP协议交互的TCPClientDemo
- Day05 錶格
- How to use websocket to realize simple chat function in C #
- Tcpclientdemo for TCP protocol interaction
- Learning video website
- Stm32bug [stlink forced update prompt appears in keilmdk, but it cannot be updated]
- [untitled]
- what does ctrl + d do?
- CesiumJS 2022^ 源码解读[0] - 文章目录与源码工程结构
- Class summation, shortest row
猜你喜欢

Zhihu million hot discussion: why can we only rely on job hopping for salary increase? Bosses would rather hire outsiders with a high salary than get a raise?

PID of sunflower classic

@Scheduled scheduled tasks
![[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush](/img/98/3e5f1094141e34d7e77f908e12acda.jpg)
[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush

Easy to win insert sort

三菱M70宏变量读取三菱M80公共变量采集三菱CNC变量读取采集三菱CNC远程刀补三菱机床在线刀补三菱数控在线测量

JSON string conversion in unity

函数计算异步任务能力介绍 - 任务触发去重

Es network layer
![[paddleseg source code reading] paddleseg custom data class](/img/88/37c535b371486db545abc392a685af.png)
[paddleseg source code reading] paddleseg custom data class
随机推荐
Management and thesis of job management system based on SSM
No clue about the data analysis report? After reading this introduction of smartbi, you will understand!
vue多级路由嵌套怎么动态缓存组件
CesiumJS 2022^ 源码解读[0] - 文章目录与源码工程结构
Add token validation in swagger
MySQL is dirty
Objective-C member variable permissions
三菱M70宏变量读取三菱M80公共变量采集三菱CNC变量读取采集三菱CNC远程刀补三菱机床在线刀补三菱数控在线测量
[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush
Objective-C string class, array class
Katalon framework tests web (XXI) to obtain element attribute assertions
Nbear introduction and use diagram
Value transfer communication between components (parent to child, child to parent, brother component to value)
Leecode 122. Zuijia timing of buying and selling stocks ②
2022-07-03:数组里有0和1,一定要翻转一个区间,翻转:0变1,1变0。 请问翻转后可以使得1的个数最多是多少? 来自小红书。3.13笔试。
用于TCP协议交互的TCPClientDemo
Audio and video technology development weekly | 232
Stm32bug [stlink forced update prompt appears in keilmdk, but it cannot be updated]
Deep thinking on investment
Which product is better if you want to go abroad to insure Xinguan?