A lightweight, customizable Vue UI library for mobile web apps.
Home Page:https://vant-ui.github.io/vant/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Loser1027 opened this issue a month ago · comments
https://codesandbox.io/p/devbox/vant-4-issue-template-forked-lzzdj5?file=%2Fsrc%2FApp.vue%3A13%2C41&workspaceId=398fb7a5-af35-435f-a588-d704fa330800
4.8.1
按需引入vant,showImagePreview样式丢失
chrome
Vant 中有个别组件是以函数的形式提供的,包括 Toast,Dialog,Notify 和 ImagePreview 组件。在使用函数组件时,unplugin-vue-components 无法自动引入对应的样式,因此需要手动引入样式。
Duplicate: #12709