mythos-contrib-express-path
Mythos contrib module for express-path
Installation
npm install --save mythos-contrib-express-path
Usage
Loading
Autoloading
Open config/autoload.js
and add the library.
moduleexports = ... "lib": ... "express-path": true ... ...;
Manual Loading
mythos;
Calling the Library
In hooks/routes
, create a middleware to wrap express-path.
You can place your routeMap.js
in config/routes.js
to follow Mythos' directory structure.
var ExpressPath = ;var path = ; module { "use strict"; app;};
Read more about express-path...)
License
ISC License