soluzione-software/laravel-pwa
Composer 安装命令:
composer require soluzione-software/laravel-pwa
包简介
README 文档
README
Note the package is currently in beta. During the beta period things can and probably will change. Don't use it in production until a stable version has been released. We appreciate you helping out with testing and reporting any bugs.
PWA for Laravel App.
Installation & Configuration
- Install via composer:
composer require soluzione-software/laravel-pwa
- Edit
resources/views/layouts/app.blade.phpview:
<!doctype html> <html lang="en"> <head> @include('pwa::head') <!-- other tags --> </head> <body> @yield('content') <!-- Scripts --> @include('pwa::footer') <!-- other scripts --> </body> </html>
- Publish
publicfiles:
php artisan vendor:publish --tag=pwa-public
- Edit
public/app.webmanifest.
Disabling locally
Add the following line to .env in order to disable the package:
PWA_ENABLED=false
统计信息
- 总下载量: 67
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-19