add[example]: add nested routes example (#789)
parent
cbc3ddd827
commit
d995cdb332
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<code>Parent View: Bar</code>
|
||||
<img src="https://wpimg.wallstcn.com/be29a7d2-5ccf-4a2b-888d-8a6c2bbb7aac.png">
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
</template>
|
@ -0,0 +1,6 @@
|
||||
<template>
|
||||
<div style="margin-top:30px;">
|
||||
<el-alert title="Children: Posts" type="warning" :closable="false">
|
||||
</el-alert>
|
||||
</div>
|
||||
</template>
|
@ -0,0 +1,6 @@
|
||||
<template>
|
||||
<div style="margin-top:30px;">
|
||||
<el-alert title="Children: Profile" type="success" :closable="false">
|
||||
</el-alert>
|
||||
</div>
|
||||
</template>
|
Loading…
Reference in new issue