<template>
  <eshop-template class="p-0">
    <order-steps-template :steps="selectedOrder">
      <router-view ref="routeComponent" :next="this.next" class="route-view content" />
    </order-steps-template>
  </eshop-template>
</template>
<script>
import EshopTemplate from './EshopTemplate'
import OrderStepsTemplate from '@/app/_global/components/templates/OrderStepsTemplate'
import checkoutRoutingMixin from '../../mixins/checkoutRoutingMixin'

export default {
  name: 'PreCheckoutTemplate',
  components: {
    EshopTemplate,
    OrderStepsTemplate,
  },
  mixins: [checkoutRoutingMixin],
  async mounted() {
    await this.initPreCheckoutRoute()
  },
}
</script>
