No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    App in pwa option in subdirectory

    Help
    2
    3
    371
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      felek last edited by

      Hello, I need to create pwa in sub directory. Example
      domain.com.pl/pwa/HEREAPP

      I build project here but it is not working offline. I change

      start_url: “/pwa/index.html”,
      scope: “/pwa/”,
      

      and in sw

      registrationOptions: { scope: "/pwa/" },
      

      Anyone can assist in this ?

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @felek last edited by

        @felek

        I have a pwa running at mydomain.com/myfolder/myPWA. I did not have to change any build settings for my PWA in Quasar. I just put the contents of the build folder in www/myPWA of your webserver instead of the www root.
        And I can reach the pwa at mydomain.com/myfolder/myPWA

        1 Reply Last reply Reply Quote 0
        • F
          felek last edited by

          I found also change router to history helped.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post