feat. i18n 설정
This commit is contained in:
@@ -6,6 +6,9 @@ import Section from "#layers/components/molecules/Section.vue";
|
||||
const pageDataStore = usePageDataStore();
|
||||
const { pageData } = storeToRefs(pageDataStore);
|
||||
|
||||
// 동적 i18n 라우트 설정
|
||||
// const { getI18nRouteConfig } = useDynamicI18nRoutes();
|
||||
|
||||
// const layout = pageData.value?.meta?.layout ?? "default";
|
||||
const layout = "default"; // 기본 레이아웃 사용
|
||||
|
||||
@@ -14,6 +17,12 @@ definePageMeta({
|
||||
layout: false, // 기본 레이아웃 비활성화
|
||||
});
|
||||
|
||||
// // gameData.lang_codes를 기반으로 동적 언어 제외 설정
|
||||
// const i18nRouteConfig = getI18nRouteConfig();
|
||||
// if (i18nRouteConfig) {
|
||||
// defineI18nRoute(i18nRouteConfig);
|
||||
// }
|
||||
|
||||
// SEO 메타 태그 설정 - pageData가 로드된 후에만 실행
|
||||
watchEffect(() => {
|
||||
if (pageData.value?.meta_tag) {
|
||||
|
||||
Reference in New Issue
Block a user