@rfprodz/client-pwa-offline
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

PWA Offline Module for Angular

PWA offline feature for Angular clients.

Description

Registers an interceptor that activates a view indicating that the client system if offline.

Registers a route that serves the view that is activated when the client system goes offline.

Usage

Within the development workspace

Import the module

...
import { AppPwaOfflineModule } from '@app/client-pwa-offline';

@NgModule({
  imports: [
    ...
    AppPwaOfflineModule,
    ...
  ],
  ...
})
export class AppModule {}

As an external package

Install the package

yarn add @rfprodz/client-pwa-offline @angular/common @angular/core @angular/material @angular/router

Import the module

...
import { AppPwaOfflineModule } from '@rfprodz/client-pwa-offline';

@NgModule({
  imports: [
    ...
    AppPwaOfflineModule,
    ...
  ],
  ...
})
export class AppModule {}

Developer commands reference

npx nx run tools:help --search client-pwa-offline:

References

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.53latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.53
1.1.35
1.1.21
1.1.11
1.0.341
1.0.331
1.0.321
1.0.311
1.0.301
1.0.291
1.0.281
1.0.271
1.0.261
1.0.251
1.0.241
1.0.221
1.0.211
1.0.201
1.0.191
1.0.181
1.0.171
1.0.161
1.0.151
1.0.141
1.0.131
1.0.121
1.0.111
1.0.101
1.0.91
1.0.81
1.0.71
1.0.51
1.0.41
1.0.21
1.0.01

Package Sidebar

Install

npm i @rfprodz/client-pwa-offline

Weekly Downloads

41

Version

1.1.5

License

MIT

Unpacked Size

43.3 kB

Total Files

18

Last publish

Collaborators

  • rfprodz