sk_fems_ui commit

This commit is contained in:
unknown
2025-07-12 15:13:46 +09:00
commit ffdf5ccb66
380 changed files with 137913 additions and 0 deletions

24
layouts/dynamicLayout.vue Normal file
View File

@ -0,0 +1,24 @@
<template>
<component :is="layout">
<slot />
</component>
</template>
<script>
import DefaultLayout from '~/layouts/default';
import FullSizeLayout from '~/layouts/landing';
const isLocal = window.location.host == 'localhost:3000';
export default {
name: 'layout',
components: {
DefaultLayout,
FullSizeLayout,
},
setup(props, { root }) {
const layout = isLocal ? 'DefaultLayout' : 'FullSizeLayout';
// computed(() => root.$route.meta.layout || "DefaultLayout");
return {
layout,
};
},
};
</script>