Files
transfer/app/src/upload.js
Christoph Wiechert 0260c734e0 Update dependencies
2018-12-14 15:19:47 +01:00

27 lines
610 B
JavaScript

// import "babel-polyfill";
// if(!String.prototype.startsWith) {
// String.prototype.startsWith = function(searchString, position) {
// position = position || 0;
// return this.indexOf(searchString, position) === position;
// };
// }
import Vue from 'vue';
import Upload from './Upload.vue';
import store from './Upload/store.js';
import Icon from 'vue-awesome/components/Icon.vue'
Vue.component('icon', Icon);
new Vue({
el: '#upload',
store,
render: h => h(Upload),
beforeCreate() {
this.$store.dispatch('config/fetch');
}
});
window.PSITRANSFER_VERSION = PSITRANSFER_VERSION;