Workbox PWA Starter icon

Workbox PWA Starter

Workbox best practice example

Screenshots

  • Main page - Offline

Progressive Web Apps (PWA) brings together the best of native mobile apps and web. This starter is a framework agnostic PWA starter kit based on Workbox, Webpack and the Router library

 Framework agnostic

Kickstart your Progressive Web App project with this starter kit. The PWA starter provides the essential building blocks for any PWA project, and lets you use your favourite front-end framework, or roll your own.

Webpack + Workbox

The PWA starter uses modern tools like Webpack for the build process, Workbox for automatic generation of the Service Worker file and dynamic response caching. A manifest file definition is also included.

Url handling and best practice

To handle server side urls, the starter uses the Enonic javascript router library. The starter delivers an out-of-the-box best practice approach for Enonic XP. Everything you need to build and deliver an end-to-end PWA.

Releases

  1. 2.4.0

    • 'dev' command
    • Compatibility:

      • 7.13.3
  2. 2.3.0

    • Notify about new app version
    • Upgraded to XP 7.13.2
    • Compatibility:

      • 7.13.2
  3. 2.2.0

    • Upgraded to XP 7.9.0
    • Compatibility:

      • 7.9.0
  4. 2.1.0

    • Upgraded to XP 7.8.0
    • Compatibility:

      • 7.8.0
  5. 2.0.0

    • Upgraded to Workbox 6
    • Upgraded to XP 7.6.0
    • Compatibility:

      • 7.6.0
  6. 1.9.0

    • Upgraded to XP 7.3.1
    • Compatibility:

      • 7.3.1
  7. 1.8.2

    • Upgraded dependencies
    • Compatibility:

      • 7.0.0
  8. 1.8.1

    • Fixed JAR missing assets after first build
    • Fixed push field/button remaining disabled after subscribing
    • Delete subscriptions upon app init
    • Compatibility:

      • 7.0.0
  9. 1.8.0

    • Fixed the app to be compatible with XP 7
    • Upgraded to Workbox 4
    • Fixed 404 errors when creating new todo items
    • Compatibility:

      • 7.0.0
  10. 1.7.0

    • Background sync page: create and manage a Todo list on- or off-line with cross-browser support
    • Upgraded to Workbox 3.0
    • When a new version of the app is out, user will be notified and can decide when to upgrade
    • Compatibility:

      • 6.14.0
  11. 1.6.0

    • Added Push Notifications page
    • Compatibility:

      • 6.14.0
  12. 1.5.0

    • Re-factoring of code
    • Uses Thymeleaf for pages
    • No external dependencies
    • Initial work on push messages started
    • Compatibility:

      • 6.13.0
  13. 1.4.0

    • Removed menu from the header
    • Upgraded Webpack and Workbox to newer versions
    • Changed default strategy to cache-first
    • Compatibility:

      • 6.12.0
  14. 1.3.0

    • Register Service Worker and embed inlne styles on every page
    • Update SW on app version change
    • Use NetworkFirst caching strategy
    • Compatibility:

      • 6.12.0
  15. 1.2.0

    • Upgrade xp gradle plugin to 1.0.17
    • Compatibility:

      • 6.12.0
  16. 1.1.0

    • Pass 100% audit on Lighthouse
    • Compatibility:

      • 6.12.0
  17. 1.0.0

    • Initial release
    • Compatibility:

      • 6.12.0