unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.75k stars 348 forks source link

vant-ui v4 showNotify,showDialog not resolved #555

Open acniray opened 1 year ago

acniray commented 1 year ago

Describe the bug

in new version of vant-ui(v4), Notify and Dialog component reduce new function-call of showNotify or showDialog, the VantResolver in unplugin-vue-components(0.22.9, can not auto import these functions

Reproduction

showNotify('test');

System Info

"vant": "^4.0.0-rc.7",
"unplugin-auto-import": "^0.11.4",
"unplugin-vue-components": "^0.22.9",

Used Package Manager

yarn

Validations

uncle-light commented 1 year ago

Is...solved?

acniray commented 1 year ago

Is...solved?

没,还是手动引入的,但是样式可以禁用掉自动引入,然后自己引一个全局的。