twee-static-extension
v0.0.3
Published
Static Files Extension for Twee.io Framework - MVC Framework for Node.js based on Express.js
Downloads
3
Maintainers
Readme
twee-static-extension
Static Files Extension for Twee.io Framework - MVC Framework for Node.js and io.js based on Express.js.
Handles all static files from application/public/
-> domain.com/assets/
and from modules: moduleName/assets
-> domain.com/assets/moduleName/
To install it use this command:
npm install twee-static-extension --save
Editing package.json
of your application:
"dependencies": {
"twee-static-extension": "*"
}
Turning extension ON
in application/configs/twee.js
:
module.exports = {
"extensions": {
"Static": {
"module": "twee-static-extension"
}
}
};