<template>
  <router-view />
</template>

<script setup>
import { onMounted } from "vue";
import { ensureCsrf } from "./services/api";
import { applyThemeFromLayoutConfig } from "./themeBootstrap";
import { registerExampleContexts } from "./layout/config/contexts.example";

onMounted(() => {
  ensureCsrf();
  applyThemeFromLayoutConfig();
  registerExampleContexts();
});
</script>
