i am using ES6 js files that are then compiled by gulp (browserify/babel), example of a ES6 file is: I have a normal App.js that is used to set up the main window etc.. Then the html pages will use a main.min.js file that is basically made up with all my ES6 classes compiled into one file: loader.es6 file import Main from './pages/Main.es6' new Main() Main.es6 file import Vue from 'vue'; export de