To check the plugin's functionality and fix any bugs that may arise, test the plugin:
Build the prepared plugin following the instructions here.
The dist folder will be created in the root plugin folder and the plugin archive will be placed in it. This archive is the completed plugin that can be uploaded to the DocSpace portal.
Download and install the on-premises DocSpace version.
Upload your plugin to the DocSpace portal and thoroughly test its appearance and functionality.
If any bugs occur, fix the source code of your plugin and repeat the procedure of building and testing.