title: How to register component in vue+ts correctly?
body: <p>I have this code:<br/>
  <em>App.vue</em><br/></p>
  
  <pre><code>&lt;template&gt;
    &lt;v-container&gt;
      &lt;div&gt;
        &lt;schedule-table
        v-if = "schedule.length &gt; 0"
        :exercises="schedule[0].exercises"
        /&gt;
      &lt;/div&gt;
    &lt;/v-container&gt;
  &lt;/template&gt;
  &lt;script lang="ts"&gt;
  
  import Vue from "vue";
  import { Component } from "vue-property-decorator";
  import ScheduleTable from '@/components/ScheduleTable.vue'
  
  @Component({
    components: {
      ScheduleTable,
    }
  })
  &lt;/script&gt;
  </code></pre>
  
  <p><em>ScheduleTable.vue</em><br/></p>
  
  <pre><code>&lt;template&gt;
    &lt;v-container&gt;
      &lt;schedule-week
      :exercises="exercises"
      /&gt;
    &lt;/v-container&gt;
  &lt;/template&gt;
  &lt;script lang="ts"&gt;
  import Vue from "vue";
  import { Component, Prop } from "vue-property-decorator";
  import { IExercise } from "@/interfaces"
  import ScheduleWeek from '@/components/ScheduleWeek.vue'
  
  @Component({
    name: 'ScheduleWeek',
    components: {
      ScheduleWeek,
    }
  })
  
  @Component
  export default class ScheduleTable extends Vue {
    @Prop( {required: true, type: Array } ) readonly exercises!: IExercise;
  }
  &lt;/script&gt;
  </code></pre>
  
  <p><em>ScheduleWeek.vue</em><br/></p>
  
  <pre><code>&lt;template&gt;
    &lt;v-container
    :ex="exercises"
    &gt;
      here is tables (but this tables dosn't show and any other text dosn't show)
    &lt;/v-container&gt;
  &lt;/template&gt;
  &lt;script lang="ts"&gt;
  import Vue from "vue";
  import { Component, Prop } from "vue-property-decorator";
  import { IExercise } from "@/interfaces"
  
  
  @Component
  export default class ScheduleWeek extends Vue {
    @Prop( {required: true, type: Array } ) readonly exercises!: IExercise;
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>And have vue warn: </p>
  
  <blockquote>
    <p>Unknown custom element: &lt; schedule-week > - did you register the
    component correctly? For recursive components, make sure to provide
    the "name" option.</p>
  </blockquote>
  
  <p><strong>How to fix this problem? How to register component correctly?</strong></p>