Install and configure Laravel PWA
mainTo add PWA support to your Laravel application, follow these steps:
- Initial Installation: Run the artisan command to publish the necessary configuration, manifest, service worker, and assets.
- Configuration: Modify the
config/pwa.phpfile to set your manifest values. - Manifest Update: After changing configuration values, you must run the update command to sync changes to
public/manifest.json.
Note: PWA features (service workers and installability) require HTTPS to function correctly.
# Initial package publishing
php artisan erag:install-pwa
# Run this after changing config/pwa.php manifest values
php artisan erag:update-manifest