Tag Archives: Wechat Applet error

Wechat Applet error: [app.json file content error] app json: [“usingComponents“][“van-button“]: “@vant/weapp/lib/button/index

微信小程序报错[ app.json 文件内容错误] app.json: [“usingComponents“][“van-button“]: “@vant/weapp/lib/button/index

After pulling items from git to build NPM, the following error is reported:

Point out that the file cannot be found and the button component cannot be used. The file path is wrong. First, find the button file in the project,

After copying the path, change the van-button path of usingComponents in app.json

Problem-solving.

Summary: error in file path. Find the file and update the path.