报错:export ‘ActionSheet’ was not found in ‘vant’
在vue项目中引入的vant组件,看了官方文档,版本已经更新到2.几了,但是我本地只有1.6几。
在项目进行过程中很多组件都报错类似:"export ‘ActionSheet’ was not found in ‘vant’;
查询到解决方式升级本地版本,升级命令:
npm install vant@2.2.14
报错:export ‘ActionSheet’ was not found in ‘vant’
在vue项目中引入的vant组件,看了官方文档,版本已经更新到2.几了,但是我本地只有1.6几。
在项目进行过程中很多组件都报错类似:"export ‘ActionSheet’ was not found in ‘vant’;
查询到解决方式升级本地版本,升级命令:
npm install vant@2.2.14