File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
packages/docs/.vuepress/src/client Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ export default defineComponent({
15
15
file: String ,
16
16
},
17
17
setup(props ) {
18
-
19
18
if (typeof window !== ' undefined' ) {
20
- window .Prism = window .Prism || {};
21
- window .Prism .manual = true ;
19
+ window .Prism = window .Prism || {}
20
+ window .Prism .manual = true
22
21
}
23
22
24
23
const files = import .meta .glob (` ../../../../../../node_modules/@coreui/coreui/scss/**/*.scss ` , {
25
24
query: ' ?raw' ,
25
+ import: ' default' ,
26
26
eager: true ,
27
27
})
28
28
const file = files [` ../../../../../../node_modules/@coreui/coreui/scss/${props .file } ` ]
@@ -40,7 +40,7 @@ export default defineComponent({
40
40
.replaceAll (' \n @' , ' \n @' ),
41
41
Prism .languages .scss ,
42
42
' scss' ,
43
- )
43
+ )
44
44
: null
45
45
return {
46
46
code ,
Original file line number Diff line number Diff line change 22
22
<h1 v-else class =" docs-title" id =" content" >
23
23
{{ title }}
24
24
</h1 >
25
+ <p class =" docs-lead" >{{ description }}</p >
25
26
<Ads />
26
27
<OtherFrameworks />
27
28
</div >
You can’t perform that action at this time.
0 commit comments