File tree Expand file tree Collapse file tree 4 files changed +1029
-26
lines changed Expand file tree Collapse file tree 4 files changed +1029
-26
lines changed Original file line number Diff line number Diff line change 27
27
"devDependencies" : {
28
28
"@babel/core" : " ^7.12.13" ,
29
29
"@babel/preset-env" : " ^7.12.13" ,
30
- "@nuxtjs/eslint-config" : " ^5.0.0" ,
31
30
"@nuxt/typescript-build" : " ^2.0.4" ,
32
31
"@nuxt/typescript-runtime" : " ^2.0.1" ,
32
+ "@nuxtjs/eslint-config" : " ^5.0.0" ,
33
33
"@nuxtjs/eslint-config-typescript" : " ^5.0.0" ,
34
34
"@nuxtjs/module-test-utils" : " ^1.6.3" ,
35
35
"babel-eslint" : " ^10.1.0" ,
40
40
"husky" : " ^5.0.9" ,
41
41
"jest" : " ^26.6.3" ,
42
42
"lerna" : " ^3.22.1" ,
43
- "nuxt" : " ^2.14.12 " ,
43
+ "nuxt" : " ^2.15.2 " ,
44
44
"puppeteer" : " ^8.0.0" ,
45
45
"shiki" : " ^0.9.2" ,
46
46
"shiki-twoslash" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ module.exports = async function (moduleOptions) {
77
77
nuxt . hook ( 'components:dirs' , ( dirs ) => {
78
78
dirs . push ( {
79
79
path : '~/components/global' ,
80
- global : true
80
+ global : true ,
81
+ pathPrefix : false
81
82
} )
82
83
} )
83
84
} else {
Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ const defaultConfig = docsOptions => ({
113
113
'nuxt-i18n' ,
114
114
'@nuxt/content'
115
115
] ,
116
- components : true ,
116
+ components : [
117
+ { path : '~/components' , pathPrefix : false }
118
+ ] ,
117
119
loading : {
118
120
color : docsOptions . primaryColor
119
121
} ,
You can’t perform that action at this time.
0 commit comments