Implement Progressive Web Apps in your Laravel app within 5 mins.
HTML-код
- Опубликовано: 12 сен 2024
- Implement Progressive Web Apps in your Laravel app within 5 mins. If you like this package don't forget to press the star button in github. Your one click inspires contributors to contribute more.
github.com/Cod...
#pwa #laravel
In this screencast I'll show you how to implement PWA (Progressive Web Apps) in your laravel app within 5 mins.
Step 1: Go to your project terminal and run the below command
composer require codexshaper/laravel-pwa
This command download all necessary code.
Step 2: To Install PWA and publish necessary assets run the below command
php artisan pwa:install
Step 3: Go to {{url}}/pwa and update your own information.
Step 4: In this step we will register meta data in our project head section. Add @PWA directive just before closing head tag in your project.
Done.
Don't forget to press the subscription button and bell icon to get notification when release new update.
If you like this video please press the like button.
I hope you will enjoy it. Good luck.
Very good. You may want to check the clicking sound. What is the scope of this plugin in relation to Caching strategies, background sync, push notifications, and the other PWA Concepts?
Hello, Thanks for your awesome tutorials! I have been facing an issue there's no install button appears after adding @PWA in the respective header section as you show in the video.
Me too, How to show install button appears?
did you run it on https protocol? It's mandatory.
Hi, I tried to install this package in Laravel 8 and I have an issue, PWA::routes() is not recognized, I can't enter {{my_url}}/pwa. Can you suggest something?
X2
Awesome
Thanks
Got error on {{url}}/pwa Route [login] not defined.
Hello, Thanks for awesome tutorials! I have a question. After making progressive web apps , xampp's apache server and mysql server is on needed???
Yes, because data load from server even you need internet connection for live site.
Does that mean Laravel apps are native if you don't include PWA support? Do they still work?
Error in routes
//Undefined type 'PWA'.intelephense(1009)//
\PWA::routes();
what should I do?
It does'nt matter! Intelephense tell me the same and it works without troubles
Route [login] not defined.
your project have a manifest.json?
when i try to login it tells me page not found, please help
Hi, if I get an error like this "Uncaught (in promise) TypeError: Failed to execute 'Cache' on 'addAll' Request Failed" where is the problem?
Check your browser network.
how i can {{url}}/pwa use this in local project
you need to setup https local domain.
hi, May i know the Screen Recorder software that you are using , please?
FastStone Capture
What should I do if it's not automatically generate button for install app, and don't have install option in menu bar?
Please check you are using https because this package only works for https. If you want to trigger install popup when click a button then follow this issue github.com/Codexshaper/laravel-pwa/issues/8
@@codexshaper I'm confused about your caption. I want to use add to home screen in phone browser (http) but when I add it, it didn't show the icon that I want. It showed a blue box with a number on it. Will PWA help my case?
@@sokcheangprum3551 This package won't work for HTTP. You must use HTTPS.
@@codexshaper I found my solution not 💯% yet, I need to called the images and paste the manifest.json file into the project.. thanks for your explanation on PWA and for your reply back. Appreciated 🙏
@@sokcheangprum3551 You are welcome. If you alraedy used HTTPS and Get any error then let me know. Thanks for using it.
how I change http to https
check {{host}}/pwa
not work
Can you elaborate what the exact issue and what are not working for you? Thanks