<template>
  <n-config-provider inline-theme-disabled :theme-overrides="themeOverrides">
    <n-loading-bar-provider>
      <loading-bar />
      <router-view v-slot="{ Component }">
        <component :is="Component" />
      </router-view>
    </n-loading-bar-provider>
  </n-config-provider>
</template>

<script setup>
import themeOverrides from '@/utils/ui/theme.js'
import LoadingBar from '@/components/LoadingBar/index.vue'

</script>

<style lang="scss">
#app {
  height: 100%;
  .n-config-provider {
    height: inherit;
  }
}
</style>
