一、尋找答案
1. 創建小程序
https://zhuanlan.zhihu.com/p/1906013675883561860
2. 若有后端接口,需要調試
https://blog.csdn.net/animatecat/article/details/126949749
3. 比較細教程, 搭建修改配置
https://zhuanlan.zhihu.com/p/1893281527112136235
4. 查找自己的小程序appid
訪問這個地址 https://developers.weixin.qq.com/miniprogram/dev/devtools/sandbox.html
調試過程問題排查
- 頁面報錯 request: fail url not in domain list
-
已經修改了后端地址vue.config.js
-
去除不校驗域名配置