已经按照官网步骤走把代码粘贴到main.js中全局引用
然后发现 npm i vant时有报错 不知道是不是这个原因呢
收起
删除已经安装的:node_modules 和 package-lock.json再执行npm audit fix --forcenpm install
报告相同问题?