Upgrade to Pro — share decks privately, control downloads, hide ads and more …

pwa-with-pwf

 pwa-with-pwf

Ignacio Anaya

May 31, 2018
Tweet

More Decks by Ignacio Anaya

Other Decks in Programming

Transcript

  1. Nacho Anaya @ianaya89 • Full Stack Developer @BloqInc • Speaker

    • Embajador @Auth0 • Organizador @Vuenos_Aires PWA with PWA - @ianaya89 2
  2. ☝ Ventajas • ♻ Deploy / Actualizacion • " Soporte

    Offline • #$ Multi Dispositivos • % Code Source • & Stores! • ' Linkeables PWA with PWA - @ianaya89 11
  3. ⚙ pwa-plugin - Configuración module.exports = { pwa: { name:

    'My App', themeColor: '#4DBA87', msTileColor: '#000000', appleMobileWebAppCapable: 'yes', appleMobileWebAppStatusBarStyle: 'black', // configure the workbox plugin workboxPluginMode: 'InjectManifest', workboxOptions: { // swSrc is required in InjectManifest mode. swSrc: 'dev/sw.js', // ...other Workbox options... } } } PWA with PWA - @ianaya89 28
  4. ! register-service-worker register(`${process.env.BASE_URL}service-worker.js`, { ready () {}, cached () {},

    updated () {}, offline () {}, error (error) {} }) PWA with PWA - @ianaya89 31
  5. ✅ Checklist • Todos los browsers • Todos los escenarios

    • Mejores Recursos = Mejor UX • HTTPS • Soporte Offline PWA with PWA - @ianaya89 33
  6. ✅ Checklist • Metadata • Carga Inicial Rapida • Fluidez

    • 1 Página = 1 URL PWA with PWA - @ianaya89 34
  7. ! Mas! • Cache • Push Notifications • Responsive Design

    (100%) • SEO y SEM Friendly PWA with PWA - @ianaya89 35