当前位置:网站首页>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
边栏推荐
- '2'&gt;' 10'==true? How does JS perform implicit type conversion?
- Package details_ Four access control characters_ Two details of protected
- PID of sunflower classic
- what does ctrl + d do?
- Code Execution Vulnerability - no alphanumeric rce create_ function()
- Sales management system of lightweight enterprises based on PHP
- [PaddleSeg 源码阅读] PaddleSeg计算Dice
- How to use STR function of C language
- Learning video website
- Which product is better for 2022 annual gold insurance?
猜你喜欢
如何有效远程办公之我见 | 社区征文
Teach you how to optimize SQL
[untitled]
How to use websocket to realize simple chat function in C #
Code Execution Vulnerability - no alphanumeric rce create_ function()
PID of sunflower classic
National standard gb28181 protocol platform easygbs fails to start after replacing MySQL database. How to deal with it?
Select sorting and bubble sorting template
Recursive structure
Consul of distributed service registration discovery and unified configuration management
随机推荐
潘多拉 IOT 开发板学习(HAL 库)—— 实验6 独立看门狗实验(学习笔记)
Leetcode51.n queen
三菱M70宏变量读取三菱M80公共变量采集三菱CNC变量读取采集三菱CNC远程刀补三菱机床在线刀补三菱数控在线测量
[PaddleSeg 源码阅读] PaddleSeg计算Dice
函数计算异步任务能力介绍 - 任务触发去重
[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush
[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush
warning: LF will be replaced by CRLF in XXXXXX
Session learning diary 1
选择排序与冒泡排序模板
How to use STR function of C language
Summary of Chinese remainder theorem
Easy to win insert sort
[untitled]
How about the ratings of 2022 Spring Festival Gala in all provinces? Map analysis helps you show clearly!
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?
mysql数据库的存储
Select sorting and bubble sorting template
New year's first race, submit bug reward more!
The new data center helps speed up the construction of a digital economy with data as a key element