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
background Two network cards are configured for t...
Currently, many businesses are conducting promoti...
The transaction log records the operations on the...
File transfer between Windows and Linux (1) Use W...
Table of contents Preface start Basic layout Data...
MySQL tuning Explain tool detailed explanation an...
This article uses examples to describe the common...
view: Views in MySQL have many similarities with ...
The following installations all use the ~/ direct...
Table of contents Event-driven and publish-subscr...
background The amount of new data in the business...
Create a database Right click - Create a new data...
1. Create a centos7.6 system and optimize the sys...
1. Packetdrill compilation and installation Sourc...
Payment countdown to return to the home page case...