feat: global components for volar

This commit is contained in:
Anthony Fu committed 2021-05-25 20:13:22 +08:00
1 parent c2f8645161
commit 9d41ea0fa8
6 files changed
+167 -160

No files matched your search

+2
View File
@@ -48,6 +48,8 @@ export default defineConfig({
// allow auto import and register components used in markdown
customLoaderMatcher: id => id.endsWith('.md'),
globalComponentsDeclaration: true,
// auto import icons
customComponentResolvers: [
// https://github.com/antfu/vite-plugin-icons