Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation not generated for TypeScript Components #165

Open
TaylorFinklea opened this issue Jun 16, 2020 · 0 comments
Open

Documentation not generated for TypeScript Components #165

TaylorFinklea opened this issue Jun 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@TaylorFinklea
Copy link

Describe the bug
Documentation is generated for all .Vue components that have export default {} in the script section, but doesn't generate documentation for export default Vue.extend({}). If I remove Vue.extend then it works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Create Vue component
<template>
  <p>{{date}}</p>
</template>
<script lang="ts">
import Vue from "vue"
export default Vue.extend({
  props: {
    date: {
      type: Date,
      required: true,
    },
  },
})
</script>
  1. Run vuese gen

Expected behavior
A documentation page is created for this component.

Actual behavior
The Vue component is skipped.

Screenshots
na

Environmental information:
Environment Info:
System:
OS: Linux 4.19 Arch Linux
CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
Binaries:
Node: 13.12.0 - /usr/sbin/node
Yarn: 1.22.4 - /usr/sbin/yarn
npm: 6.14.4 - /usr/sbin/npm

Additional information
na

@IWANABETHATGUY IWANABETHATGUY added the bug Something isn't working label Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants