Edit in JSFiddle

    // The Vue build version to load with the `import` command
    // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
    import Vue from 'vue'
    import App from './App'
    
    Vue.config.productionTip = false
    
    /* eslint-disable no-new */
    
    
    
    Vue.filter('camel',function(str){
            return str.toLowerCase().replace(/^\w|\s\w/g, function (letter) {
            return letter.toUpperCase();
        })
                                                                                    
    })        
    new Vue({
      el: '#app',
      template: '<App/>',
      components: { App }
    })