<template>
  <FlexCol>
    <SimplePageContentLoader :loader="loader">
      <Parse :content="loader.content?.value?.content || ''" />
    </SimplePageContentLoader>
  </FlexCol>
</template>

<script setup lang="ts">
import FlexCol from '@/components/layout/FlexCol.vue';
import Parse from '@/components/display/parse/Parse.vue';
import SimplePageContentLoader from '@/common/components/SimplePageContentLoader.vue';
import CommonContent from '@/api/CommonContent';
import { useSimpleDataLoader } from '@/common/composeabe/SimpleDataLoader';

const loader = useSimpleDataLoader(async () => await CommonContent.getContentDetail(6930, undefined, 18));
</script>
