<template>
	<div>
		<!-- <desktop-index/> -->
		<desktop-index v-if="$store.state.app.device == 'desktop'" />
		<mobile-index v-else />
	</div>
</template>

<script setup name="Index">
	import DesktopIndex from "@/views/desktop";
	import MobileIndex from "@/views/mobile";
	// const router = useRouter();
	// const store = useStore();
	// if (store.state.app.device == 'mobile') {
	//   router.push({
	//     path: '/mobile/m-index'
	//   });
	// }
</script>