<template> <ProductDetail v-if="!isMobile()" /> <MobileProductDetail v-if="isMobile()" /> </template> <script setup lang="ts"> import { isMobile } from '@/utils' import ProductDetail from '@/components/ProductDetail.vue' import MobileProductDetail from '@/components/MobileProductDetail.vue' </script>