Vant 默认版本已切换至 3.x(适配 Vue 3) #10271
chenjiahan
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
|
vue 3 使用官网 webpack5+vue3+vant+SSR的方案,全局引入vant,服务端打包的结果,出现了window之类的内容,使用SSR,vant只能按需引入组件,不能全局引入所有组件吗? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
目前 Vue 3 现已成为新的默认版本,因此 Vant 也进行了相应的调整,包括:
npm tag 变更
latesttag 默认指向 Vant 3(对应 Vue 3)latest-v2tag 会指向 Vant 2 的最新版(对应 Vue 2)文档网站变更
如果大家在对上述版本切换有任何问题,欢迎在此帖下进行反馈 ^_^
Beta Was this translation helpful? Give feedback.
All reactions