Initial rearrangment of vuetom site source
This commit is contained in:
0
packages/blog/.vitepress/theme/custom.scss
Normal file
0
packages/blog/.vitepress/theme/custom.scss
Normal file
18
packages/blog/.vitepress/theme/index.ts
Normal file
18
packages/blog/.vitepress/theme/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
// .vitepress/theme/index.js
|
||||
|
||||
// for prod
|
||||
import BlogTheme from 'vitepress-theme-vuetom/blog'
|
||||
|
||||
// old
|
||||
// import { BlogTheme } from 'vitepress-theme-vuetom'
|
||||
|
||||
import './custom.scss'
|
||||
|
||||
export default {
|
||||
...BlogTheme,
|
||||
enhanceApp({ app, router, siteData }) {
|
||||
// globals.forEach(([name, Comp]) => {
|
||||
// app.component(name, Comp)
|
||||
// })
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user