Preview mode
Closed this issue · 0 comments
mattbdean commented
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:
- Create a 'preview' environment/configuration
- Create a mock TableService class
- Use a factory to provide this new class in the
@NgModule
declaration
To deploy:
- Build using the new environment
$ ng build --configuration preview --output-path docs/preview --base-href "/preview" --prod
- Commit and push, wait a minute or two for it to be live at
https://mattbdean.github.io/Helium/preview