title: Nuxt export 'default' (imported as 'mod') was not found
body: <p>I am using Nuxt with Typescript. I create a following component:</p>
  
  <pre><code>&lt;template&gt;
      &lt;div class="field"&gt;
          &lt;label class="label" v-if="typeof label !== 'undefined'"&gt;{{ label }}&lt;/label&gt;
          &lt;div class="control"&gt;
              &lt;textarea
                  v-if="inputType === 'textarea'"
                  class="textarea"
                  @input="$emit('input', $event.target.value)"
              &gt;&lt;/textarea&gt;
              &lt;input
                  v-if="inputType === 'input'"
                  :type="type"
                  class="input"
                  @input="$emit('input', $event.target.value)"
              &gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script lang="ts"&gt;
  import { Vue, Component, Prop } from "vue-property-decorator"
  
  @Component({})
  export default class AppInput extends Vue {
      @Prop({ type: String, required: false, default: "input" })
      inputType!: string
  
      @Prop({ type: String, required: false })
      label!: string
  
      @Prop({ type: String, required: false, default: "text" })
      type!: string
  }
  &lt;/script&gt;
  
  &lt;style&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>And then in <code>@/plugins/components.ts</code>, I import the component as following:</p>
  
  <pre><code>import Vue from "vue"
  import AppInput from "@/components/Forms/AppInput.vue"
  
  Vue.component("AppInput", AppInput)
  </code></pre>
  
  <p>When I compile the project with Nuxt, it throws me <code>export 'default' (imported as 'mod') was not found</code> error. Please help!</p>