0.0.13 • Published 8 years ago

ndx-static-routes v0.0.13

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

ndx-static-routes

provides routes to serve client content for ndx-framework apps

install with
npm install --save ndx-static-routes

example

src/server/app.coffee

require ndx-server
.config
  database: 'db'
.use 'ndx-static-routes'
.start()

environment variables

ndx-static-routes serves up different content depending on the NODE_ENV variable

NODE_ENV=production

- dist/app
- public
- dist/index.html

NODE_ENV=dev (or anything else)

- build/client
- public
- build/client/index.html
- bower
0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago