- <script setup lang="ts">
- import { RouterView } from 'vue-router'
- import { useRoute } from 'vue-router'
- import VideoView from '@/views/Video/src/VideoView.vue'
- const route = useRoute()
- </script>
- <template>
- <VideoView v-if="route.name === 'Demo Video'" />
- <RouterView v-else />
- </template>
- <style scoped></style>
|