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.

Комментарии • 36

  • @shofada
    @shofada 3 года назад +1

    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?

  • @gilbertdaniel932
    @gilbertdaniel932 3 года назад +2

    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.

    • @pinmonyoudom8942
      @pinmonyoudom8942 3 года назад

      Me too, How to show install button appears?

    • @codexshaper
      @codexshaper  3 года назад

      did you run it on https protocol? It's mandatory.

  • @alexeicocu568
    @alexeicocu568 3 года назад +1

    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?

  • @samayunmiahchowdhury794
    @samayunmiahchowdhury794 3 года назад

    Awesome

  • @amitshinde8082
    @amitshinde8082 3 года назад +1

    Got error on {{url}}/pwa Route [login] not defined.

  • @sajeebchakraborty5461
    @sajeebchakraborty5461 3 года назад

    Hello, Thanks for awesome tutorials! I have a question. After making progressive web apps , xampp's apache server and mysql server is on needed???

    • @codexshaper
      @codexshaper  3 года назад

      Yes, because data load from server even you need internet connection for live site.

  • @StijnHommes
    @StijnHommes 2 года назад

    Does that mean Laravel apps are native if you don't include PWA support? Do they still work?

  • @abbaszabiermohammad8903
    @abbaszabiermohammad8903 2 года назад

    Error in routes
    //Undefined type 'PWA'.intelephense(1009)//
    \PWA::routes();
    what should I do?

    • @emmanuelovares
      @emmanuelovares 2 года назад

      It does'nt matter! Intelephense tell me the same and it works without troubles

  • @asadkhalid4275
    @asadkhalid4275 3 года назад +1

    Route [login] not defined.

  • @kassiusKlay123
    @kassiusKlay123 3 года назад

    your project have a manifest.json?

  • @ojjichukwuemeke6105
    @ojjichukwuemeke6105 2 года назад

    when i try to login it tells me page not found, please help

  • @iswanhamdah9987
    @iswanhamdah9987 3 года назад

    Hi, if I get an error like this "Uncaught (in promise) TypeError: Failed to execute 'Cache' on 'addAll' Request Failed" where is the problem?

  • @shahhussain56
    @shahhussain56 2 года назад

    how i can {{url}}/pwa use this in local project

    • @codexshaper
      @codexshaper  2 года назад

      you need to setup https local domain.

  • @usfsarkar4111
    @usfsarkar4111 4 года назад

    hi, May i know the Screen Recorder software that you are using , please?

  • @stefanblagojevic9935
    @stefanblagojevic9935 3 года назад

    What should I do if it's not automatically generate button for install app, and don't have install option in menu bar?

    • @codexshaper
      @codexshaper  3 года назад

      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

    • @sokcheangprum3551
      @sokcheangprum3551 3 года назад

      @@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?

    • @codexshaper
      @codexshaper  3 года назад +1

      @@sokcheangprum3551 This package won't work for HTTP. You must use HTTPS.

    • @sokcheangprum3551
      @sokcheangprum3551 3 года назад

      @@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 🙏

    • @codexshaper
      @codexshaper  3 года назад +1

      @@sokcheangprum3551 You are welcome. If you alraedy used HTTPS and Get any error then let me know. Thanks for using it.

  • @ayyubnematov4408
    @ayyubnematov4408 3 года назад

    how I change http to https

  • @codefixers
    @codefixers 2 года назад

    not work

    • @codexshaper
      @codexshaper  4 месяца назад

      Can you elaborate what the exact issue and what are not working for you? Thanks