Closed baransu closed 7 years ago
Is is possible to includes dependencies form file system paths?
@michalslaski @arkgil You can test it out by runningyarn build
first to check that there is no plugin available, and then:
yarn add https://github.com/Baransu/epl-plugin.git
Then you can check if epl-plugin
is specified in plugins
list in package.json
. If everything went correct you can yarn build
and run build
folder on simple any simple http-server (e.g. http-server) .
@arkgil Yes. you can use yarn link
or yarn add file:path/to/plugin
EDIT: Here you can read about yarn link
: https://yarnpkg.com/lang/en/docs/cli/link/
Experimental UI plugin support. Your plugin has to be build using
epl-scripts
or ejected version ofepl-scripts
exporting optional parts:epl-your-plugin-name
To add any custom plugin you have to add it as node dependency
npm/yarn install https://link/to/your/plugin.git
and add it toplugins
list inpackage.json
. These plugins will be built into UI bundle.There are also options to add plugins in development or how to develop plugins but I'm not going to create documentation for it as well as documentation about whole plugin system until it's finished and o longer experimental.