20 lines
564 B
Vue
20 lines
564 B
Vue
<script setup lang="ts">
|
|||
|
|
import { ConfigProvider, StyleProvider } from "ant-design-vue";
|
||
|
|
import faIR from "ant-design-vue/es/locale/fa_IR";
|
||
|
|
import { antdTheme } from "~/design/theme";
|
||
|
|
import { organizationSchema, websiteSchema } from "#shared/seo/schema";
|
||
|
|
|
||
|
|
const { $antdCache } = useNuxtApp();
|
||
|
|
|
||
|
|
useSiteSeo();
|
||
|
|
useJsonLd([organizationSchema(), websiteSchema()]);
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<StyleProvider :cache="$antdCache">
|
||
|
|
<ConfigProvider :theme="antdTheme" direction="rtl" :locale="faIR">
|
||
|
|
<NuxtPage />
|
||
|
|
</ConfigProvider>
|
||
|
|
</StyleProvider>
|
||
|
|
</template>
|