feat: global components for volar
This commit is contained in:
1 parent
c2f8645161
commit
9d41ea0fa8
6 files changed
+167
-160
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user