当前位置:网站首页>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
边栏推荐
- What are the virtual machine software? What are their respective functions?
- Summary of Chinese remainder theorem
- How much does it cost to open a futures account in China? Where is it safe to open an account at present?
- How to use STR function of C language
- Explain AI accelerator in detail: why is this the golden age of AI accelerator?
- 2022-07-03: there are 0 and 1 in the array. Be sure to flip an interval. Flip: 0 becomes 1, 1 becomes 0. What is the maximum number of 1 after turning? From little red book. 3.13 written examination.
- 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?
- 微信公众号网页授权
- Code Execution Vulnerability - no alphanumeric rce create_ function()
- Rhcsa day 2
猜你喜欢

Third party login initial version

Typical applications of minimum spanning tree

Explain AI accelerator in detail: why is this the golden age of AI accelerator?

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?

Tcpclientdemo for TCP protocol interaction
![[untitled]](/img/b5/bf76783aa428222623d760756a14d9.jpg)
[untitled]

Mindmanager2022 efficient and easy to use office mind map MindManager
![[paddleseg source code reading] paddleseg custom data class](/img/88/37c535b371486db545abc392a685af.png)
[paddleseg source code reading] paddleseg custom data class

微信公众号网页授权

Jenkins configures IP address access
随机推荐
SQL语句加强练习(MySQL8.0为例)
毕业总结
[Wu Enda deep learning] beginner learning record 3 (regularization / error reduction)
In my spare time, I like to write some technical blogs and read some useless books. If you want to read more of my original articles, you can follow my personal wechat official account up technology c
Stm32bug [stlink forced update prompt appears in keilmdk, but it cannot be updated]
ctf-pikachu-CSRF
选择排序与冒泡排序模板
Eh, the log time of MySQL server is less than 8h?
Calculate the odd sum of 1~n (1~100 as an example)
“软硬皆施”,助力建成新型云计算数据中心
EV6 helps the product matrix, and Kia is making efforts in the high-end market. The global sales target in 2022 is 3.15 million?
Tcpclientdemo for TCP protocol interaction
MySQL data query optimization -- data structure of index
[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush
[untitled]
CesiumJS 2022^ 源码解读[0] - 文章目录与源码工程结构
Add token validation in swagger
Easy to win insert sort
Which product is better for 2022 annual gold insurance?
(practice C language every day) pointer sorting problem