Initial commit
This commit is contained in:
13
docs/.vitepress/theme/index.ts
Normal file
13
docs/.vitepress/theme/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import mediumZoom from 'medium-zoom'
|
||||
import { onMounted } from 'vue'
|
||||
import './style/print.css'
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
setup() {
|
||||
onMounted(() => {
|
||||
mediumZoom('.main img')
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user