微信云开发插件

This commit is contained in:
2025-08-17 22:15:07 +08:00
parent 939e6d553d
commit db79fbf9e0
1760 changed files with 914220 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Project Title
An extension that shows how to open and communicate with the panel through messages and menus.
The panel is based on Vue3.x.
## Development Environment
Node.js
## Install
```bash
# Install dependent modules
npm install
# build
npm run build
```
## Usage
After enabling the extension, click `Panel -> wx-cloud-plugin -> Default Panel` in the main menu bar to open the default panel of the extension.
To send a message to the default panel, click `Developer -> wx-cloud-plugin -> Send Message to Panel` at the top of the menu. If the default panel exists, the `hello` method of the panel will be called.
After clicking `Send Message to Panel`, a message `send-to-panel` will be sent to the extension as defined by `contributions.menu` in `package.json`. When the extension receives the `send-to-panel` message, it will cause the `default` panel to call the `hello` method as defined by `contributions.messages` in `package.json`.