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

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

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