Fix in-app docs (#13953)

* use kebab-case in wrapperComponent

* downgrade vite-plugin-md
This commit is contained in:
Azri Kahar
2022-06-17 21:10:23 +08:00
committed by GitHub
parent dea0669aac
commit e48d9ae5b5
3 changed files with 72 additions and 1782 deletions

View File

@@ -108,7 +108,7 @@
"ts-jest": "27.1.3",
"typescript": "4.7.3",
"vite": "2.9.9",
"vite-plugin-md": "0.14.0",
"vite-plugin-md": "0.13.1",
"vue": "3.2.36",
"vue-i18n": "9.1.10",
"vue-router": "4.0.15",

View File

@@ -23,7 +23,7 @@ export default defineConfig({
include: [/\.vue$/, /\.md$/],
}),
md({
wrapperComponent: 'DocsWrapper',
wrapperComponent: 'docs-wrapper',
markdownItOptions: {
highlight(str, lang) {
if (lang && hljs.getLanguage(lang)) {

1850
package-lock.json generated

File diff suppressed because it is too large Load Diff