<template>
  <div id="home">
    <home1 v-if="type == '1'"></home1>
    <home2 v-else-if="type == '2'"></home2>
    <home3 v-else-if="type == '3'"></home3>
  </div>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import type { Ref } from 'vue';
import home1 from './home-1.vue';
import home2 from './home-2.vue';
import home3 from './home-3.vue';
let type: Ref<string> = ref('2');
</script>

<style scoped lang="scss"></style>
