mattbdean/Helium

Preview mode

Closed this issue · 0 comments

This would be a sample of Helium built in production mode, but that mocks the API calls and stores all data in memory. Refreshing the page would reset all the data.

To create:

  1. Create a 'preview' environment/configuration
  2. Create a mock TableService class
  3. Use a factory to provide this new class in the @NgModule declaration

To deploy:

  1. Build using the new environment
$ ng build --configuration preview --output-path docs/preview --base-href "/preview" --prod
  1. Commit and push, wait a minute or two for it to be live at https://mattbdean.github.io/Helium/preview