artur-code / vue-codemod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support ExportDefaultDeclaration with declaration type Identifier

artur-code opened this issue · comments

Parser should support export vue component through ExportDefaultDeclaration type="Identifier":

const MyComponent = {
  name: 'MyComponent',
  props: {
    test: {
      type: Array,
      required: true
    }
  }
}
export default MyComponent