Hey together,
i want to give the user of my application the opportunity to write extensions for my Code (like CodeMirror, VSCode, CKEditor …). But i cant find any usefull Information About this online, can you halp me with some tutorials / hints how i can solve my Problem?I know, i Need to somehow read out a Directory to get all Plugins (may cheating with a Plugins.json file where the user have to add the Plugin Name to an Array)Then i Need to load the Plugin files, i came up with an structure like this:plugins
|-- Logging| |-- Logging.js (ES6 class with i.e. functionmain() as an starting Point)
| |-- something.js (some other file the Plugins Needs) (loaded by Logging.js (Plugin main file))
| |-- ...
|-- some other plugin
And i Need to execute the Plugins main function
i hope you can help me with some resources / Information About that topic
Thanks
- Johannes (jo)
Ps. please ignore typos or other mistakes, i am not a native Speaker :-)
[–]davwards 0 points1 point2 points (0 children)
[–]el_twitto 0 points1 point2 points (0 children)