0.0.13 • Published 7 years ago

ndx-static-routes v0.0.13

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago