Skip to content
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

nuxt3的vant中,生产环境样式错乱问题 #19

Closed
Maxbsy opened this issue Jun 8, 2023 · 2 comments · Fixed by #20
Closed

nuxt3的vant中,生产环境样式错乱问题 #19

Maxbsy opened this issue Jun 8, 2023 · 2 comments · Fixed by #20
Labels
enhancement New feature or request

Comments

@Maxbsy
Copy link

Maxbsy commented Jun 8, 2023

在该链接中能找到相似的问题,youzan/vant#11049
但是目前解决方案是将按需引入改为全局引入。
那么nuxt3的vant中,是否有这个配置修改呢?

@tolking tolking added the enhancement New feature or request label Jun 8, 2023
@tolking
Copy link
Member

tolking commented Jun 8, 2023

可以增加禁用样式加载的配置

@Maxbsy
Copy link
Author

Maxbsy commented Jun 8, 2023

是的,我是通过nuxt.config.ts的配置将按需引用排除掉,然后自行全局引用。但有没有更有效的方案呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants