doggie
1
Directly locate the WeChat Mini Program-related section in src/manifest.json and add:
"lazyCodeLoading": "requiredComponents",
References
Enabling On-Demand Component Injection for UniApp Mini Programs Using "lazyCodeLoading": "requiredComponents" – CSDN Blog