打开 关闭

Has anyone created a PWA using the Angular UI? #175


User avatar
1
ian@order2invoice.com 创建

I am looking for direction on acheiving this


4 答案
  • User Avatar
    1
    armanozak 创建

    Hi Ian,

    Please run the following command in your terminal:

    npx ng add @angular/pwa
    

    Then get a new production build and the service worker should normally be ready. You should see a tiny "plus" icon in the address bar and can audit PWA via Lighthouse.

  • User Avatar
    0
    GregB 创建

    @armanozak I'm pretty new with Angular and ABP. Is there anything we need to take into account with the service proxies that ABP gives us or do they play nicely with service workers?

  • User Avatar
    1
    armanozak 创建

    Hi @GregB,

    There is no relationship between those two.

    https://docs.abp.io/en/abp/latest/UI/Angular/Service-Proxies https://docs.abp.io/en/abp/latest/UI/Angular/PWA-Configuration

  • User Avatar
    0
    GregB 创建

    ok, thanks 👍🏻

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11