diff --git a/HACKING.md b/HACKING.md index fbe951f3f73894209aa3851c446c55cb6c7bfa7a..7af3b0d3801fa89122e0070c39ac180c1bf6fccb 100644 --- a/HACKING.md +++ b/HACKING.md @@ -67,7 +67,7 @@ terminus-pluginname # Plugins -The app will load all plugins from the source checkout in the dev mode, and from the user's plugins directory at all times (click `Open Plugins Directory` under `Settings` > `Plugins`). +The app will load all plugins from the source checkout in the dev mode, from the user's plugins directory at all times (click `Open Plugins Directory` under `Settings` > `Plugins`) and from the directory specified by the `TERMINUS_PLUGINS` environment var. A plugin should only provide a default export, which should be a `NgModule` class (or a `NgModuleWithDependencies` where applicable). This module will be injected as a dependency to the app's root module. diff --git a/README.md b/README.md index e47d8034325b36f29a691138ebbef36d87c31565..77d553b55ae5afbff0a1985dfbb797292ce4d89e 100644 --- a/README.md +++ b/README.md @@ -25,4 +25,4 @@ Pull requests and plugins are welcome! Publish your plugin on NPM with a `terminus-plugin` keyword to make them appear in the Plugin Manager. -See [HACKING.md](https://github.com/Eugeny/terminus/blob/master/HACKING.md) for a very plugin development tutorial! +See [HACKING.md](https://github.com/Eugeny/terminus/blob/master/HACKING.md) for a very brief plugin development tutorial!