We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When I use defineComponent, Vuese does not extract props.
defineComponent
To Reproduce You can see it in the sandbox: https://vuese.github.io/vuese-explorer/
First, try it without defineComponent:
<template> <div /> </template> <script> export default { name: 'MyComponent', props: { // Loading loading: { type: Boolean, }, }, }; </script>
This will output a props section with the loading prop, its type and the comment above it.
loading
Then with:
<template> <div /> </template> <script> import {defineComponent} from 'vue'; export default defineComponent({ name: 'MyComponent', props: { // Loading loading: { type: Boolean, }, }, }); </script>
This will output nothing.
Expected behavior Props to show up in the example where I use defineComponent, just as they do in the one without it.
The text was updated successfully, but these errors were encountered:
Facing this issue as well, any resolutions ?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When I use
defineComponent
, Vuese does not extract props.To Reproduce
You can see it in the sandbox:
https://vuese.github.io/vuese-explorer/
First, try it without
defineComponent
:This will output a props section with the
loading
prop, its type and the comment above it.Then with:
This will output nothing.
Expected behavior
Props to show up in the example where I use
defineComponent
, just as they do in the one without it.The text was updated successfully, but these errors were encountered: