当前位置:网站首页>路由-嵌套路由
路由-嵌套路由
2022-08-02 12:49:00 【给我来个鸡腿】
效果

代码结构

Page3.vue
<template>
<div>
<h1>Page3</h1>
<router-link tag="div" to="/page3/page31">3-1</router-link>
<router-link tag="div" to="/page3/page32">3-2</router-link>
<router-view />
</div>
</template>
<script>
</script>router.js
import Page31 from '../views/Page31.vue'
import Page32 from '../views/Page32.vue'
const routes = [
...
{
path: '/page3',
component: Page3,
children: [
{
path: 'page31',
component: Page31
},
{
path: 'page32',
component: Page32
}
]
}
]边栏推荐
- 30行代码实现无服务器实时健康码识别--操作手册
- 软件成分分析:手握5大能力守护软件供应链安全
- Intouch System Platform IDE-1
- 企业用直播平台能实现什么
- svg balloon rises explosion js special effect
- How to implement waterfall flow layout (what is waterfall flow layout)
- 手撸架构,网络 面试36问
- js semi-circle loading progress animation js special effects
- linux basic command explanation
- FreeRTOS experiment--one function creates multiple tasks
猜你喜欢

SQL Server 数据库之导入导出数据

FreeRTOS--优先级实验

ETL(二):表达式组件的使用

php - the first of three solid foundations
![PHP+MYSQL [Student Information Management System] (Minimalist Edition)](/img/86/d5d39eef0600acabbf3ac16c255c18.png)
PHP+MYSQL [Student Information Management System] (Minimalist Edition)

svg balloon rises explosion js special effect

Process finished with exit code 1

ssm access database data error

用位运算为你的程序加速

看我如何用多线程,帮助运营小姐姐解决数据校对系统变慢!
随机推荐
如何关闭开启硬件加速[通俗易懂]
三种实现分布式锁的方式
ETL(二):表达式组件的使用
主流跨端技术一览
js semi-circle loading progress animation js special effects
TFRecord简介,原理分析,代码实现?[通俗易懂]
不错的射击类js小游戏源码
【第六届强网杯CTF-Wp】
ssm访问数据库数据报错
zabbix自动化监控脚本
SQL Server 2014安装教程(保姆级图解教程)
Intelligent Image Analysis-Intelligent Home Appliance Image Target Detection Statistical Counting Detection and Recognition-iCREDIT
Seneor Exposure Basics
SQL Server2019安装步骤及脱机安装Microsoft机器学习组件下一步不能继续的问题
Intouch Historian历史曲线配置导入导出
FreeRTOS创建任务--动态创建、静态创建
#Summer Challenge#[FFH] OpenHarmony Device Development Foundation (3) Compilation Dependencies
sql concat() function
PHP伪协议详解
Taurus.MVC V3.0.3 微服务开源框架发布:让.NET 架构在大并发的演进过程更简单。