@dsz-examaware/plugin-demo
v0.1.1
Published
A ready-to-run ExamAware plugin showcasing both main and renderer entries, a hosted service, and a settings page.
Readme
ExamAware Demo Plugin
A ready-to-run ExamAware plugin showcasing both main and renderer entries, a hosted service, and a settings page.
Quickstart
pnpm install
pnpm dev # build main + renderer in watch mode
# or
pnpm build
pnpm pack # builds then packs into .ea2xIn ExamAware desktop, choose "解压缩插件" and select this folder (the one containing package.json).
What it demonstrates
- Main process: exposes
hello.messageservice and logs a heartbeat. - Renderer: registers a settings page with a counter that persists via plugin settings API.
- Settings schema:
schema.jsondeclares thedemo.clicksanddemo.messagefields.
Customize
- Update
package.jsonname,examaware.displayName, andexamaware.settings.namespaceto your plugin's ID. - Tweak
src/main/index.tsheartbeat message or wire new services. - Adjust the settings UI in
src/renderer/components/PluginSettingsPage.vue.
