Replaces all of the handlers by those specified. If each of those 3handlersare set to [], the library will only parse the given component. It will not run any standard handlers anymore. NOTE:Standard handlers are available as namespaces. Import and use them this way: import{parse,ScriptHan...
强留**强留上传3KB文件格式zip vue-docgen-api-bug 用CodeSandbox创建 (0)踩踩(0) 所需:1积分 libwebp 2025-01-21 09:46:05 积分:1 pex-renderer 2025-01-21 09:45:18 积分:1 ChineseAug 2025-01-21 09:38:56 积分:1 ayaoy2k.github.io ...
// src/stories/Button.stories.ts import type { Meta, StoryObj } from '@storybook/vue3'; import Button from './Button.vue'; const meta: Meta<typeof Button> = { title: 'Example/Button', component: Button, tags: ['autodocs'], argTypes: { size: { control: 'select', options: ['s...
3 export default class Documentation { 4 private propsMap; 5 private eventsMap; 6 private slotsMap; 7 private methodsMap; 8 private exposedMap; 9 private dataMap; 10 private docsBlocks; 11 private originExtendsMixin; 12 readonly sourceFiles: Set<string>; 13 readonly component...
1 import { TemplateChildNode } from '@vue/compiler-dom'; 2 import { SFCTemplateBlock } from '@vue/compiler-sfc'; 3 import Documentation from './Documentation'; 4 import type { ParseOptions, TemplateHandler } from './types'; 5 export interface TemplateParserOptions { 6 functional:...
"lru-cache": "^8.0.3", "pug": "^3.0.2", "recast": "0.22.0", "recast": "^0.22.0", "ts-map": "^1.0.3", "vue-inbrowser-compiler-independent-utils": "^4.64.1" },71 changes: 42 additions & 29 deletions 71 packages/vue-docgen-api/src/script-handlers/propHandler.ts Origin...
可能存在不准确的情况。要解决在 prop JSDoc 中未填充控件的问题,请按照以下步骤操作:...
2 import type { ParseOptions, DocGenOptions } from './types'; 3 import * as ScriptHandlers from './script-handlers'; 4 import * as TemplateHandlers from './template-handlers'; 5 import getDoclets from './utils/getDoclets'; 6 import getProperties from './script-handlers/utils/get...
1 import classDisplayNameHandler from './classDisplayNameHandler'; 2 import classMethodHandler from './classMethodHandler'; 3 import classPropHandler from './classPropHandler'; 4 import classEventHandler from './classEventHandler'; 5 import componentHandler from './componentHandler'; 6 imp...
What I did I synced up the versions of vue-docgen-api between both packages Checklist for Contributors Testing The changes in this PR are covered in the following automated tests: stories unit ...