step1. Configure routing rules and use the children configuration item:routes:[ { path:'/about', component:About, }, { path:'/home', component:Home, children:[ //Configure child routing through children { path:'news', //Do not write: /news component:News }, { path:'message', //Do not write: /message component:Message } ] } ] 2. Jump (write the full path):<router-link to="/home/news">News</router-link> Analyzing the code SummarizeThis article ends here. I hope it can be helpful to you. I also hope you can pay more attention to more content on 123WORDPRESS.COM! You may also be interested in:
|
<<: Analysis of Linux kernel scheduler source code initialization
>>: Thirty HTML coding guidelines for beginners
Table of contents Nginx proxies two socket.io ser...
If you want to solve the slow problem once and fo...
Table of contents 1. What is JavaScript? 2. What ...
CSS plays a very important role in a web page. Wi...
This article mainly explains how to install the M...
1. Download mysql-8.0.17-winx64 from the official...
Insert data into mysql database. Previously commo...
Azure Container Registry is a managed, dedicated ...
In the recent project, we need to create an effec...
Here we mainly use spring-boot out of the box, wh...
Generate Linux library The Linux version uses cen...
Table of contents 1. Understanding Databases 1.1 ...
Vue first screen performance optimization compone...
1. Download MySQL Community Server 5.7.16 and ins...
This article shares the specific code for the WeC...