请问下components.d.ts里包含了所有涉及自动导入的组件吗? #861
Unanswered
k644606347
asked this question in
Q&A
Replies: 1 comment
-
Yes, I would suggest enabling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
请问下
components.d.ts
里包含了所有涉及自动导入的组件吗?我想写个脚本,根据components.d.ts这个清单,对所有自动导入的组件做其他处理;这是我的插件配置:
这是我的components.d.ts:
我理解插件的默认配置下,会扫描所有.vue的
<template>
内容,并根据components.d.ts
中GlobalComponents
的key
为组件名,去匹配<AsyncDialogMain>/<BindPolicyCaptchaLevelSelect>
这些组件写法,然后自动import对应的组件路径Beta Was this translation helpful? Give feedback.
All reactions