<template>
  <div id="sub-app"></div>
</template>

<script>
import { registerGlobalMicroApps } from '@/micro';
export default {
  mounted() {
    if (!window.qiankunStarted) {
      window.qiankunStarted = true;
      registerGlobalMicroApps();
    }
  },
};
</script>
<style>
#app {
  width: 100%;
}
</style>
