We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26de0b1 commit debf7c7Copy full SHA for debf7c7
packages/docs/.vuepress/config.ts
@@ -1,10 +1,8 @@
1
import { defineUserConfig } from 'vuepress'
2
-import type { DefaultThemeOptions } from 'vuepress'
3
import { permalink } from 'markdown-it-anchor'
4
-import pkg from '../package.json'
+import { resolve } from 'node:path'
5
6
-// const md = require('markdown-it')()
7
-const path = require('path')
+import type { DefaultThemeOptions } from 'vuepress'
8
9
export default defineUserConfig<DefaultThemeOptions>({
10
base: `/vue/docs/`,
@@ -71,7 +69,7 @@ export default defineUserConfig<DefaultThemeOptions>({
71
69
},
72
70
],
73
74
- theme: path.resolve(__dirname, './theme-coreui'),
+ theme: resolve(__dirname, './theme-coreui'),
75
themeConfig: {
76
sidebar: [
77
{
0 commit comments