how load jquery code in vue
1 - npm install --save jquery
2 - create mounted(){}
3 - place your jquery code in that
like this =>
mounted(){
// FAQ Accordion JS
$('.accordion').find('.accordion-title').on('click', function(){
// Adds Active Class
$(this).toggleClass('active');
// Expand or Collapse This Panel
$(this).next().slideToggle('fast');
// Hide The Other Panels
$('.accordion-content').not($(this).next()).slideUp('fast');
// Removes Active Class From Other Titles
$('.accordion-title').not($(this)).removeClass('active');
});
}