Submenu for Tree demos

pull/41/head
cagataycivici 2019-07-31 19:25:04 +03:00
parent 91da73ffff
commit e4e5e3c607
2 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,7 @@
<template> <template>
<div> <div>
<TreeSubMenu />
<div class="content-section introduction"> <div class="content-section introduction">
<div class="feature-intro"> <div class="feature-intro">
<h1>Tree</h1> <h1>Tree</h1>
@ -25,6 +27,7 @@
<script> <script>
import NodeService from '../../service/NodeService'; import NodeService from '../../service/NodeService';
import TreeDoc from './TreeDoc'; import TreeDoc from './TreeDoc';
import TreeSubMenu from './TreeSubMenu';
export default { export default {
data() { data() {
@ -61,7 +64,8 @@ export default {
} }
}, },
components: { components: {
'TreeDoc': TreeDoc 'TreeDoc': TreeDoc,
'TreeSubMenu': TreeSubMenu
} }
} }
</script> </script>

View File

@ -0,0 +1,11 @@
<template>
<div class="content-section content-submenu p-clearfix">
<ul>
<li><router-link to="/tree">&#9679; Documentation</router-link></li>
<li><router-link to="/tree/selection">&#9679; Selection</router-link></li>
<li><router-link to="/tree/lazy">&#9679; Lazy</router-link></li>
<li><router-link to="/tree/templating">&#9679; Templating</router-link></li>
<li><router-link to="/tree/filter">&#9679; Filter</router-link></li>
</ul>
</div>
</template>