Skip to content

[Bug] VantResolver 自动导入打包后会导致css加载顺序错误 #327

@yanbowe

Description

@yanbowe

1.当Button组件和ActionBar和组件一起使用后本地运行正常,打包后ActionBar样式顺序错乱,与本地开发不一致。 线上: image 本地: image

2.Toast无法正确加载css样式

复现Demo:https://github.com/yanbowe/vite-vant-demo
复现步骤:
1.pnpm安装依赖
2.pnpm dev本地运行查看效果
3.pnpm build & pnpm preview查看效果

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions