当前位置:网站首页>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
边栏推荐
- 潘多拉 IOT 开发板学习(HAL 库)—— 实验6 独立看门狗实验(学习笔记)
- Leetcode51.n queen
- Exercices de renforcement des déclarations SQL (MySQL 8.0 par exemple)
- [database I] database overview, common commands, view the table structure of 'demo data', simple query, condition query, sorting data, data processing function (single row processing function), groupi
- Es network layer
- super_ Subclass object memory structure_ Inheritance tree traceability
- Have you entered the workplace since the first 00???
- Monitoring - Prometheus introduction
- Handler source code analysis
- 用于TCP协议交互的TCPClientDemo
猜你喜欢
logistic regression
Stm32bug [stlink forced update prompt appears in keilmdk, but it cannot be updated]
Cache general management class + cache httpcontext Current. Cache and httpruntime Differences between caches
微信公众号网页授权
Add token validation in swagger
ctf-pikachu-CSRF
MySQL query
Stm32bug [the project references devices, files or libraries that are not installed appear in keilmdk]
Tcpclientdemo for TCP protocol interaction
Jenkins configures IP address access
随机推荐
XSS prevention
[paddleseg source code reading] normalize operation of paddleseg transform
Mitsubishi M70 macro variable reading Mitsubishi M80 public variable acquisition Mitsubishi CNC variable reading acquisition Mitsubishi CNC remote tool compensation Mitsubishi machine tool online tool
“软硬皆施”,助力建成新型云计算数据中心
CesiumJS 2022^ 源码解读[0] - 文章目录与源码工程结构
Is it really so difficult to learn redis? Today, a fan will share his personal learning materials!
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
选择排序与冒泡排序模板
Detailed explanation of PPTC self recovery fuse
JVM family -- monitoring tools
Monitoring - Prometheus introduction
Formulaire day05
Objective-C string class, array class
Rhcsa day 2
What is the difference between enterprise wechat applet and wechat applet
@Scheduled scheduled tasks
Katalon框架测试web(二十六)自动发邮件
[.NET + mqtt]. Mise en œuvre de la communication mqtt dans l'environnement net 6 et démonstration de code pour l'abonnement et la publication de messages bilatéraux du serveur et du client
Don't disagree, this is the most powerful "language" of the Internet
Recent learning fragmentation (14)