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
1. Install the built-in Linux subsystem of win10 ...
This article example shares the specific code of ...
Table of contents 1. React combined with Antd to ...
1. Document flow and floating 1. What is document...
1. Disconnection reason There are many reasons wh...
Benefits of Prepare The reason why Prepare SQL is...
Official documentation: JSON Functions Name Descr...
Today I found that a program inserted an incorrec...
Table of contents 1. Introduction 2. Main text 2....
example: <html> <head> <style type...
Table of contents 1. Introduction 2. Usage Statel...
Zabbix Server Environment Platform Version: ZABBI...
This article is mainly to let beginners understan...
Server matching logic When Nginx decides which se...
Table of contents Mixin Mixin Note (duplicate nam...