diff --git a/src/pages/index.md b/src/pages/index.md
index 0b391b5..0544fda 100644
--- a/src/pages/index.md
+++ b/src/pages/index.md
@@ -1,7 +1,3 @@
-
-
-
属于19预科2班的故事还未完结
+ 属于19预科2班的故事还未完结
\ No newline at end of file
diff --git a/vite.config.ts b/vite.config.ts
index a2a5c83..f9e9306 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -17,6 +17,8 @@ import Unocss from 'unocss/vite'
import Shiki from 'markdown-it-shiki'
import VueMacros from 'unplugin-vue-macros/vite'
+import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
+
export default defineConfig({
resolve: {
alias: {
@@ -59,6 +61,7 @@ export default defineConfig({
'src/composables',
],
vueTemplate: true,
+ resolvers: [ElementPlusResolver()],
}),
// https://github.com/antfu/unplugin-vue-components
@@ -68,6 +71,7 @@ export default defineConfig({
// allow auto import and register components used in markdown
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
dts: 'src/components.d.ts',
+ resolvers: [ElementPlusResolver()],
}),
// https://github.com/antfu/unocss