-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: move api table out from runtime. Use vue-component-meta * chore: update vue-tsc * fix(docs): parse methods * chore: remove extra import * chore(docs): show kebab cased props
- Loading branch information
Showing
9 changed files
with
175 additions
and
62 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
packages/docs/modules/page-config/blocks/api/component-parser/meta.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { resolveAlias } from '@nuxt/kit' | ||
|
||
import path from 'path' | ||
|
||
import type { MetaCheckerOptions } from 'vue-component-meta' | ||
import { createComponentMetaChecker } from 'vue-component-meta' | ||
|
||
const checkerOptions: MetaCheckerOptions = { | ||
forceUseTs: true, | ||
printer: { newLine: 1 }, | ||
} | ||
|
||
export const checker = createComponentMetaChecker( | ||
path.join(resolveAlias('@'), '..', './ui', 'tsconfig.json'), | ||
checkerOptions, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.