title: How to make sidebar hidden in mobile view and toggle on click in mobile and other device view using vue.js and bootstrap4
body: <p>I have code that is working fine with pure bootstrap4 and javascript but when i tried to do with vuejs in mobile view sidebar is not showing below is the code that i want to change in vuejs but in vuejs it is showing toggleClass is not defined error</p>
  
  <pre><code>  $("#menu-toggle").click(function(e) {
    e.preventDefault();
    $("#wrapper").toggleClass("toggled");
   });
  </code></pre>
  
  <p><a href="https://startbootstrap.com/previews/simple-sidebar/" rel="nofollow noreferrer">Here is the link for template that i am using.</a></p>
  
  <p>Here is screenshot of the error</p>
  
  <p><a href="https://i.stack.imgur.com/sVdAV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sVdAV.png" alt="enter image description here"></a>
  can anyone help me in this how to do and what is alternative to this?
  Thanks in advance</p>