1. Select the code for release
2. Fill in the WeChat applet appid and publish it in hbuilderx
For this id, please log in to the settings of the WeChat applet account to view it
3. Enter the WeChat applet tool and click Upload
Uploaded successfully.
4. An error is reported when resources exceed 2M
message: Error: System error, error code: 80051, source size 3743KB exceeded max limit 2MB
If you report an error like this, you can try to subcontract or reduce it to less than 2M.
Refer to this blog post for the subcontracting method
How does uniapp subpackage & static folder cannot be read after subpackage configuration?
Finally uploaded successfully.