codexshaper/laravel-pwa
最新稳定版本:v1.2
Composer 安装命令:
composer require codexshaper/laravel-pwa
包简介
Laravel Progressive Web App
关键字:
README 文档
README
Description
Installable PWA for laravel. Implement PWA in your laravel website within 5 mins.
| Lravel PWA version | Laravel version |
|---|---|
| 1.0 | ^5.6, ^6.0, ^7.0 |
| 1.1 | ^8.0 |
| 1.2 | ^8.0 |
Requirements
It only suppoorts HTTPS and localhost (both HTTP and HTTPS)
Click here to see video instruction.
Download
composer require codexshaper/laravel-pwa
Install
php artisan pwa:install
Use: Add below code before closing head tag
{{ pwa_meta() }}
OR
@PWA
Finaly configure your own information. Go to {{url}}/pwa
Additionaly you may add below script after all js loaded to work perfectly bootstrap 4 custom file input
$(".custom-file-input").on("change", function() {
var fileName = $(this).val().split("\\").pop();
$(this).siblings(".custom-file-label").addClass("selected").html(fileName);
});
Contributors
- Md Abu Ahsan Basir - Creator and Maintainer - github
Concept from silviolleite
统计信息
- 总下载量: 2.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-12