Appearance
Plugin Examples
Explore complete, real-world plugin examples for each Motanamy platform type. Each example is based on a Music Player plugin that demonstrates the core patterns you'll use when building your own plugins.
Platform Examples
What Each Example Covers
| File | EA | SA | OS |
|---|---|---|---|
setting.json | ✓ | ✓ | ✓ |
script.js | ✓ | ✓ | ✓ |
widget.vue | ✓ | ✓ | — |
index.vue | — | — | ✓ |
setting.vue | ✓ | ✓ | ✓ |
database/data.json | ✓ | ✓ | ✓ |
Key Differences at a Glance
- EA: Uses
addRole(),addTask(),addToSetting()— role-based permissions, dashboard widgets, sidebar navigation - SA: Uses
addTo(),addTask()— simpler navigation, widget-based layout - OS: Uses
setFrame(),setToolbar()— desktop window frame, electron file access viaipcRenderer