Vue.js Multi-Level Sidebar Dropdown Menu

There are the Following The simple About Vue js Multi level sidebar Dropdown menu Full Information With Example and source code.

As I will cover this Post with live Working example to develop vuejs navigation bar with Mega Menu, so the vue js off canvas menu for this example is following below.

Vue Dropdown Menu Component Example


<div class="container" id="app">
<h2>Vue.js multi-level dropdown example</h2>
Selected element: {{ selectedDropdown }}
<h3>vue recursive components example</h3>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">Dropdown
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li v-for="liveMenu in primaryMenu" v-bind:class="{'dropdown-submenu': liveMenu.children}">
<a class="test" tabindex="-1" href="#">{{}}<span class="caret" v-if="liveMenu.children"></span></a>
<ul class="dropdown-menu" v-if="liveMenu.children">
<li v-for="child in liveMenu.children"><a tabindex="-1" href="#" @click="setSelectedItem(">{{}}</a></li>

Vue.js multi-level dropdown example


var app = new Vue({
el: '#app',
data: {
primaryMenu: [
name: 'Menu 1',
children: [{name: 'About Us 1'},{name: 'Contact 2'},{name: 'Form 3'}]
name: 'Menu 2'
selectedDropdown: 'None'
methods: {
setSelectedItem(liveMenu) {
this.selectedDropdown = liveMenu;
ready: function() {
$('.dropdown-submenu a.test').on("click", function(e){

CSS Part

.dropdown-submenu {
position: relative;

.dropdown-submenu .dropdown-menu {
top: 0;
left: 100%;
margin-top: -1px;

I hope you get an idea about Vue js Multi level sidebar Dropdown menu.

#vue #vuejs 

Vue.js Multi-Level Sidebar Dropdown Menu
1.00 GEEK