stash/pkg/plugin/examples/react-component
Raghavan 6a9175c954
Implement UI event dispatcher/listener (#4492)
* page change event
* expose event to plugin api
* Update UIPluginApi.md
* Add to example plugin
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2024-02-27 09:27:28 +11:00
..
src Implement UI event dispatcher/listener (#4492) 2024-02-27 09:27:28 +11:00
package.json UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00
README.md UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00
tsconfig.json UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00
yarn.lock UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00

This is a reference React component plugin. It replaces the details part of scene cards with a list of performers and tags.

To build:

  • run yarn install --frozen-lockfile
  • run yarn run build

This will copy the plugin files into the dist directory. These files can be copied to a plugins directory.