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({
1515 file: String ,
1616 },
1717 setup(props ) {
18-
1918 if (typeof window !== ' undefined' ) {
20- window .Prism = window .Prism || {};
21- window .Prism .manual = true ;
19+ window .Prism = window .Prism || {}
20+ window .Prism .manual = true
2221 }
2322
2423 const files = import .meta .glob (` ../../../../../../node_modules/@coreui/coreui/scss/**/*.scss ` , {
2524 query: ' ?raw' ,
25+ import: ' default' ,
2626 eager: true ,
2727 })
2828 const file = files [` ../../../../../../node_modules/@coreui/coreui/scss/${props .file } ` ]
@@ -40,7 +40,7 @@ export default defineComponent({
4040 .replaceAll (' \n @' , ' \n @' ),
4141 Prism .languages .scss ,
4242 ' scss' ,
43- )
43+ )
4444 : null
4545 return {
4646 code ,
Original file line number Diff line number Diff line change 2222 <h1 v-else class =" docs-title" id =" content" >
2323 {{ title }}
2424 </h1 >
25+ <p class =" docs-lead" >{{ description }}</p >
2526 <Ads />
2627 <OtherFrameworks />
2728 </div >
You can’t perform that action at this time.
0 commit comments