[go: up one dir, main page]

spa-webserver

1.0.6 • Public • Published

spa-webserver

Webserver that redirects to root index.html if path is missing for client-side SPA navigation.

Install

npm install spa-webserver --save

Use

spa-webserver -d './build'

Opts:

  • -d: root directory (defaults to ./)
  • -p: port (defaults to process.env.PORT)

License

Released under an MIT license.

Related

  • link-react: A generalized link component that allows client-side navigation while taking into account exceptions

Other

  • memoizerific: Fast, small, efficient JavaScript memoization to memoize JS functions
  • todo-app: Example todo app of extreme decoupling of react, redux and selectors

Like it? Star It

Readme

Keywords

Package Sidebar

Install

npm i spa-webserver@1.0.6

Version

1.0.6

License

MIT

Last publish

Collaborators

  • thinkloop