<template>
  <MegaConfigProvider :locale="$i18n.messages[$store.state.app.locale]">
    <nuxt />
  </MegaConfigProvider>
</template>

<script>
import { ConfigProvider as MegaConfigProvider } from "@mega-design/ui-vue";
import Mixin from "./mixins";

export default {
  name: "None",
  components: {
    MegaConfigProvider,
  },
  mixins: [Mixin],
  provide() {
    return {
      handleCustomSetting: this.handleCustomSetting,
    };
  },
};
</script>
