1. The manifest
  2. The route
  3. The card
  4. Install
Getting started4 / 4

Install

Developer mode installs your plugin on your test Hodi, then updates it at every save: Hodi restarts by itself to load it.

What you do
  1. In the preview, your test Hodi's developer mode is on: it shows you a code.
  2. On the highlighted line, type that code at the end of the command.
  3. Look at Server › Plugins: Hello world is there, with the In development badge.
1$ npx hodi-plugin dev \2    --server http://localhost:3000 \3    --code 48291345✓ plugin.json6✓ server/index.ts7✓ web/index.tsx8✓ locales/fr.json, locales/en.json910Installed: Hello world 0.1.011Waiting for a change…
PreviewLive

Plugins

What the server admin sees.

DiagnosticReports a badly read article0.2.2
Hello worldYour first pluginIn development
Developer modeCode: 482913On

Developer mode: Hello world 0.1.0 ok