-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
<script setup> Support #458
Comments
Are there any updates? |
Still no updates? |
anything? |
? |
1 similar comment
? |
Changes need to be made to the source code: /package.json "@vue/compiler-sfc": "3.3.9", /lib/core/seekExportDefaultLine.js if (inScript && /export\s+default/.test(line)) {
return i + 1; // index starts at 0, but file's lines start at 1
}
if (inScript && /<script\ssetup>/.test(line)) {
return i;
} /lib/core/vueScriptExtractor.js let scriptContent = parsedComponent.descriptor.script ? parsedComponent.descriptor.script.content : null;
scriptContent ??= parsedComponent.descriptor.scriptSetup ? parsedComponent.descriptor.scriptSetup.content : ''; |
Is there any
Is there any chance you can submit a PR for this change? If not, I'll try my best to make one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My docs were being generated correctly. Until I decided to upgrade my script tags to use script setup as Vue Docs recommends.
This led to my docs not being generated anymore.
Does jsdoc-vuejs supports <script setup>?
The text was updated successfully, but these errors were encountered: