This issue is split into 2 steps.
Step 1 provides framework to get a working prototype (app + plugins) but is not future proof. It's also easy to migrate to Step 2.
Step 2 is meant as a stable solution, but requires significantly more work and testing.
Proposed solution doesn't cover styling or plugin API conventions, to keep focus tight.
Step 1
Requirements
Implementation
export default [
"plugin-one",
"plugin-two"
]
Workflow
- user adds or removes plugins from
healthbrain-settings.js
- user has to recompile bundle for change to appear
Step 2
export default {
"plugin-one": {"plugin-setting": "value"},
}
Workflow
Here's the steps user will do to setup application:
- clone overview repo (could be implemented as installer)
- add needed plugins via
npm add
- setup plugins in
healthbrain-settings.js if needed.
This issue is split into 2 steps.
Step 1 provides framework to get a working prototype (app + plugins) but is not future proof. It's also easy to migrate to Step 2.
Step 2 is meant as a stable solution, but requires significantly more work and testing.
Proposed solution doesn't cover styling or plugin API conventions, to keep focus tight.
Step 1
Requirements
Implementation
healthbrain-settings.jsto project root. It should include all plugins in following formathealthbrain-settings.jsshould be added to.gitignore.Workflow
healthbrain-settings.jsStep 2
npm update.healthbrain-settings.jsfor that):Workflow
Here's the steps user will do to setup application:
npm addhealthbrain-settings.jsif needed.