new WebModule(server, name, route, appPath [, options])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
server |
WebServer | ||
name |
string | The name of the app module. |
|
route |
string | The base route of the app module. |
|
appPath |
string | The path to load the app's module files |
|
options |
object |
<optional> |
The app module's extra options defined in its parent's configuration. |
- Source:
- WebModule.js
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
options.logWithAppName |
bool |
<optional> |
false | Flag to include app name in log message. |
Extends
- Routable(LibModule)
Members
-
route :string
-
Mounting route.
Type:
- string
- Source:
- WebModule.js
-
ß
-
Require a module from the source path of an app module
- Source:
- WebModule.js