[Vuejs]-How to use external scripts in vue js and laravel

0👍

var plugin =  'resources/assets/plugins/';

mix.js('resources/assets/js/app.js', 'public/js/app.js')
.combine([
  plugin + 'jquery/jquery.min.js',
  plugin + 'popper/popper.min.js',
  plugin + 'bootstrap/bootstrap.min.js',
  plugin + 'moment/moment.min.js',
  plugin + 'toastr/toastr.min.js',
  plugin + 'slimscroll/jquery.slimscroll.js',
  plugin + 'waves/waves.js',
  plugin + 'sticky-kit/sticky-kit.min.js',
  plugin + 'fancybox/jquery.fancybox.pack.js',
  plugin + 'fancybox/jquery.fancybox.js',
  plugin + 'fancybox/jquery.mousewheel.pack.js',
   'public/js/app.js',
],'public/js/bundle.min.js')
.sass('resources/assets/sass/style.scss', 'public/css')
.browserSync('laravue');

Leave a comment