<template>
  <!-- <viewIndex/> -->
  <!-- <keep-alive>
          <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view> -->
  <!-- //<router-view></router-view> -->
  <router-view v-slot="{ Component }">
	<keep-alive>
		<component :is="Component" v-if="$route.meta.keepAlive" :key="$route.name" />
	</keep-alive>
    <component :is="Component" v-if="$route.meta.keepAlive"
							:key="$route.name" />
</router-view>
</template>

<script setup>
//import viewIndex from './view/configurator.vue'
//import viewIndex from './view/appmian.vue'
//import viewIndex from './view/index.vue'
// import viewIndex from './view/myIndex.vue'
//  import viewIndex from './view/case.vue'
// export default {
//   name: 'App',
//   // components: {
//   //   viewIndex
//   // }
// }
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0;
  padding: 0;
}
</style>
