diff --git a/src/web/app/app.vue b/src/web/app/app.vue
new file mode 100644
index 000000000..497d47003
--- /dev/null
+++ b/src/web/app/app.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts
index b947e0743..4ff2333e8 100644
--- a/src/web/app/common/mios.ts
+++ b/src/web/app/common/mios.ts
@@ -62,6 +62,11 @@ export default class MiOS extends EventEmitter {
serverStream: ServerStreamManager;
requestsStream: RequestsStreamManager;
messagingIndexStream: MessagingIndexStreamManager;
+ } = {
+ driveStream: null,
+ serverStream: null,
+ requestsStream: null,
+ messagingIndexStream: null
};
/**
diff --git a/src/web/app/init.ts b/src/web/app/init.ts
index f0c36f6c1..91797a95a 100644
--- a/src/web/app/init.ts
+++ b/src/web/app/init.ts
@@ -12,6 +12,8 @@ import VueRouter from 'vue-router';
Vue.use(VueRouter);
+import App from './app.vue';
+
import checkForUpdate from './common/scripts/check-for-update';
import MiOS from './common/mios';
@@ -64,10 +66,13 @@ export default (callback, sw = false) => {
mios.init(() => {
// アプリ基底要素マウント
- document.body.innerHTML = '
';
+ document.body.innerHTML = '';
const app = new Vue({
- router: new VueRouter()
+ router: new VueRouter({
+ mode: 'history'
+ }),
+ render: createEl => createEl(App)
}).$mount('#app');
try {