|
1 | | -import { Image } from 'ant-design-vue'; |
2 | | -import DefaultTheme from 'vitepress/theme'; |
3 | | -import Archives from './components/Archives.vue'; |
4 | | -import Category from './components/Category.vue'; |
5 | | -import Comment from './components/Comment.vue'; |
6 | | -import Layout from './components/Layout.vue'; |
7 | | -import Page from './components/Page.vue'; |
8 | | -import Tags from './components/Tags.vue'; |
| 1 | +import { Image } from 'ant-design-vue' |
| 2 | +import DefaultTheme from 'vitepress/theme' |
| 3 | +import Archives from './components/Archives.vue' |
| 4 | +import Category from './components/Category.vue' |
| 5 | +import Comment from './components/Comment.vue' |
| 6 | +import Layout from './components/Layout.vue' |
| 7 | +import Page from './components/Page.vue' |
| 8 | +import Tags from './components/Tags.vue' |
9 | 9 |
|
10 | | -import './style.scss'; |
| 10 | +import './style.scss' |
11 | 11 |
|
12 | 12 | export default { |
13 | 13 | ...DefaultTheme, |
14 | 14 | Layout, |
15 | 15 | enhanceApp({ app }) { |
16 | 16 | // register global component |
17 | | - app.component('Tags', Tags); |
18 | | - app.component('Category', Category); |
19 | | - app.component('Archives', Archives); |
20 | | - app.component('Page', Page); |
21 | | - app.component('Comment', Comment); |
| 17 | + app.component('Tags', Tags) |
| 18 | + app.component('Category', Category) |
| 19 | + app.component('Archives', Archives) |
| 20 | + app.component('Page', Page) |
| 21 | + app.component('Comment', Comment) |
22 | 22 | // antd component |
23 | | - app.component('Image', Image); |
| 23 | + app.component('Image', Image) |
24 | 24 | }, |
25 | | -}; |
| 25 | +} |
0 commit comments