<template>
  <!-- <app-base> -->
  <div id="android-app">
    <article>
<!--      <route :comp="{name: 'build-tsak'}" name="root"></route>-->
      <!--      <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
      <!--      <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
      <!--      <route :comp="{name: 'task-graph'}" name="root"></route>-->
      <!--      <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
            <route :comp="{name: 'login-app'}" name="root"></route>
    </article>
    <time-out></time-out>
    <message-box></message-box>
    <alert-box></alert-box>
    <alert-box-batch></alert-box-batch>
  </div>
</template>

<script>

import AlertBox from "vue-client/src/components/AlertBox";
import AlertBoxBatch from "vue-client/src/components/AlertBoxBatch";

export default {
  ready () {
    if(!window.onerror) {
      window.onerror = function (message, file, line, col, error) {
        // HostApp.alert("Error occured: " + error.message)
        return false
      }
    }
  },
  components: { AlertBox, AlertBoxBatch }
}
</script>
