Skip to content

Commit af5303f

Browse files
committed
docs: update layout
1 parent 1864460 commit af5303f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/docs/.vuepress/src/client/components/ScssDocs.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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,

packages/docs/.vuepress/src/client/layouts/Layout.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
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>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy