New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自动引入,引入出现错误 #505
Comments
suppose you using a component name with full uppercase. normally, a compont name like TartNode will be splitted with Uppercase (T/N) then combine with Also, seems TART_NODE is not a tdsign component as well. |
It seems to be a bug, please provide a minimum reproduction repo. |
我这个并不是个组件,但是被解析了 |
your own code 'TART_NODE' matchs the naming rule(start with T) |
我的code是START_NODE ,是S开头的啊 |
'TART_NODE'这个code在我代码里都没出现出现过 |
每次出现这个问题,都是我是用类似样式 a.THE 或者 a.STHE,使用对象属性,为什么会被当做引入呢 |
const a = { let a: any = {} const a = { |
unplugin-vue-components 插件只解析模板中的内容,unplugin-auto-import 插件会解析 script 中的内容,你可以尝试移除 auto-import 中配置的 TDesignResolver |
好的,谢谢 |
The text was updated successfully, but these errors were encountered: