how to add js in vuejs code example Example: how to load js in vuejs components var slide = require('../assets/template/js/jssor.slider-26.1.5.min.js');