active-handout-plugins
v1.0.2
Published
**If you are not developing a new plugin you probably don't need to worry about this folder.**
Downloads
1
Readme
Active Handout Plugins
If you are not developing a new plugin you probably don't need to worry about this folder.
You can develop plugins using either React (with PropTypes and Styled-Components) or pure JS syntax.
Setup
Run the following commands from the project's root directory:
$ cd plugins-js
$ npm install
Developing plugins
Create and edit your files in the src
folder. Then, run the following command from the plugins-js
directory to compile and export the bundle to content/js
:
$ npm run build
Important: when you create a new file, import it on plugin-bundle.js
so it gets exported correctly.