Getting Started with Plugins
The example has been created using React and TypeScript. Parcel is used to build the plugin.
Running locally
The following commands will install dependencies and start the server to run the plugin locally:
yarn
yarn start
These commands will install dependencies and start the server.
Note: Base styles are included to index.html
from the repository.
This command will generate the vendor
folder with styles and fonts of the core app. Add this folder
inside the folder for your plugin and include appropriate styles to the index.html
file.
yarn build:statics - for Linux or MacOs
yarn build:statics:win - for Windows
Build plugin
The following commands will build plugins:
yarn
yarn build