connect-history-api-fallback : Provides a fallback for non-existing directories so that the HTML 5 history API can be used.. You can installing connect-history-api-fallback npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install connect-history-api-fallback $ sudo npm install -g connect-history-api-fallback
If want to update the connect-history-api-fallback package execute the command as below,
$ sudo npm update connect-history-api-fallback
Update package globally,
$ npm install -g connect-history-api-fallback
$ sudo git clone https://github.com/rektide/connect-history-api-fallback.git
$ sudo npm install -g ./connect-history-api-fallback
connect-history-api-fallback@1.5.0 /usr/lib/node_modules/connect-history-api-fallback
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall connect-history-api-fallback
Package Name | connect-history-api-fallback |
Version | 1.5.0 |
Description | Provides a fallback for non-existing directories so that the HTML 5 history API can be used. |
Released Date | 2017-11-09T16:48:45.095Z |
Published by | bripkens |
How to Learn | https://www.npmjs.com/package/connect-history-api-fallback/tutorial |