这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
655 B

<template>
<div id="app">
<router-view />
<service-worker-update-popup />
</div>
</template>
<script lang="ts">
import { AbpModule } from '@/store/modules/abp'
import { HttpProxyModule } from '@/store/modules/http-proxy'
import { Component, Vue } from 'vue-property-decorator'
import ServiceWorkerUpdatePopup from '@/pwa/components/ServiceWorkerUpdatePopup.vue'
@Component({
name: 'App',
components: {
ServiceWorkerUpdatePopup
}
})
export default class App extends Vue {
created() {
this.initialize()
}
private async initialize() {
await HttpProxyModule.Initialize()
await AbpModule.Initialize()
}
}
</script>