<template>
  <component :is="type"></component>
</template>

<script>
  import * as components from './all'
console.log(components)
  export default {

    components: {
      ...components
    },

    props: {
      type: { type: String, required: true }
    },
  }
</script>
