Solve the development of small programs: the WXML file corresponding to the pages "pages/index/index" defined in app.json was not found
(Pro-test to solve) If you save your precious time, please give me a thumbs up
Problem phenomenon
Solution (2 steps)
1. Find app.json (as shown below) and delete the extra one (mpvue I use)
2. Check whether your project file path contains Chinese (if you have it, put it in the file path without Chinese), restart the file project, open the WeChat development tool and it will be OK
Reminder (If it is normal, please ignore)
- Check if the page.json file (app.json in dist/wx and page.json in the mpvue project must be checked) is correct
- Cache reason, clear the file, re-import the project in WeChat developer tool and try again