vant使用SwipeCell,报错,安装依赖仍然不行?

vant使用SwipeCell报错, vant/lib/swipe-cell in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/view/shopCar/list.vue

To install it, you can run: npm install --save vant/lib/swipe-cell

按照这个命令进行安装,缺提示: Could not install from "vantlibswipe-cell" as it does not contain a package.json file.

反复删除依赖文件重新安装 依然是不行的

阅读 3.6k
1 个回答
推荐问题