You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the package.json there is the dependency for DragonNode.js
{"dependencies": {"dragonnodejs": "^5.0.1"}}
A module is a CommonJS module exports a function getting configuration, libraries container and service container
/** * Description for the module * @example ['modules/example', { // Configuration for the module }] */module.exports=(config,libraries,services)=>{// Implementation for the module};
The "app.js" contain the configuration for the application with all bundles and modules and their configuration
// Load the libraries and modulesletconfig={directory: __dirname+'/',modules: [['modules/example',{// Configuration for the module}]]};require('dragonnodejs')(config);