Skip to content

Commit

Permalink
fix: warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bowencool committed Sep 8, 2022
1 parent 428e5f6 commit e0199e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/.vitepress/theme/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import DefaultTheme from 'vitepress/theme';
import DemoContainer from './DemoContainer.vue';
import { ElIcon, ElButton } from 'element-plus';
import { Loading } from '@element-plus/icons-vue';

import './custom.scss';
Expand All @@ -9,5 +10,7 @@ export default {
enhanceApp({ app, router, siteData }) {
app.component('DemoContainer', DemoContainer);
app.component('icon-loading', Loading);
app.use(ElIcon);
app.use(ElButton);
},
};

0 comments on commit e0199e0

Please sign in to comment.