Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 745 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 745 Bytes

Backend UI Example Plugin

Example plugin to illustrate

  • How to inject your own vue component to smarty template
  • How to use components from ui-library
  • How to use dialog mixin
  • How to do API data fetching
  • How to extend existing ui-library component

Note that most of the ui-library components has been exposed in 3.4.0-2 (pkp/pkp-lib#9089), so these won't be available in older versions. But you can still use this build your own Vue.js components for older versions following these examples.

Also check out generic plugin template https://github.com/pkp/pluginTemplate to see how the cypress test can be written to automatically test your plugin.

image illustrating plugin example ui