mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix in-app docs (#13953)
* use kebab-case in wrapperComponent * downgrade vite-plugin-md
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
1850
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user