Update frontend plugin section

[ci skip]
pull/5141/head
Oliver Günther 8 years ago
parent 70018d197b
commit 7369e9d53b
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 12
      doc/development/create-openproject-plugin.md

@ -137,13 +137,8 @@ images, styles and I18n translations.
Translations are processed by I18n.js through Rails and will be picked up from `config/locales/js-<locale>.js`.
Pure frontend plugins should be considered _a work in progress_. As such, it is
currently recommended to create hybrid plugins (see below).
**To use a frontend plugin:**
* You will currently need to modify the `package.json` of OpenProject core
directly. A more robust solution is currently in planning.
Pure frontend plugins are currently not possible without modifications to the OpenProject core `package.json`.
We instead recommend to create a hybrid gem plugin instead (see below).
## Hybrid plugins
@ -159,6 +154,5 @@ _CAVEAT: npm dependencies for hybrid plugins are not yet resolved._
* then run `bundle install`.
You **do not** need to modify the `package.json` of OpenProject core. Provided
Ruby Bundler is aware of these plugins, Webpack (our node-based build pipeline)
Provided Ruby Bundler is aware of these plugins, Webpack (our node-based build pipeline)
will bundle their assets.

Loading…
Cancel
Save