module

module (default: false) is a boolean field that determines if an app is a full-blown app or just installed for the side effects its installation produces. Modules do not have user interfaces or servers, therefore they cannot be started or run. They are only installed because, like normal apps, their installation produces certain side effects. For instance, during installation modules can install routers, install hooks, define collections, create public files, etc.

A module cannot do the following:

  • A module can't have a main
  • A module can't have an index
  • A module can't have startup privilege
  • A module can't register extensions
  • Although a module can create hooks, they cannot be server hooks.
  • A module can't have permissions

If you define any of the following items listed above in your package.json for a module they will be ignored.

If all an app does is extend Bolt (without having a UI of its own), consider making it a module.

results matching ""

    No results matching ""