init
This commit is contained in:
17
app/src/upload.js
Normal file
17
app/src/upload.js
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
|
||||
import 'babel-polyfill';
|
||||
import Vue from 'vue';
|
||||
import Upload from './Upload.vue';
|
||||
import store from './Upload/store.js';
|
||||
|
||||
new Vue({
|
||||
el: '#upload',
|
||||
store,
|
||||
render: h => h(Upload),
|
||||
beforeCreate() {
|
||||
this.$store.dispatch('config/fetch');
|
||||
}
|
||||
});
|
||||
|
||||
window.PSITRANSFER_VERSION = PSITRANSFER_VERSION;
|
||||
Reference in New Issue
Block a user