provides routes to serve client content for ndx-framework apps
install with
npm install --save ndx-static-routes
src/server/app.coffee
require ndx-server
.config
database: 'db'
.use 'ndx-static-routes'
.start()
ndx-static-routes serves up different content depending on the NODE_ENV
variable
- dist/app
- public
- dist/index.html
- build/client
- public
- build/client/index.html
- bower