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

    SPA and History Mode with Github Pages

    Framework
    2
    4
    184
    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.
    • C
      callum last edited by

      Hey guys… as the title suggests, after building the app for production, I have uploaded it to github. It works fine with hash mode but not with history. As I can’t tinker Github server config, how can I then make it work? There is an article in dev.to but that is not working.

      Can anyone please tell me the exact steps to make this work?

      1 Reply Last reply Reply Quote 0
      • Hawkeye64
        Hawkeye64 last edited by

        @callum https://dev.to/quasar/publish-your-quasar-spa-on-github-io-with-history-mode-20h2

        This still works for me. All of the app-extensions I have written use this technology on github.io.
        Double-check your changes. Compare to source in “demo” folder of any official quasar app-extension (like QCalendar)

        1 Reply Last reply Reply Quote 0
        • Hawkeye64
          Hawkeye64 last edited by

          The only thing that may be different is statics changed to public. You can put the 404.html in public.

          1 Reply Last reply Reply Quote 0
          • C
            callum last edited by

            Thank You, though I have another issue. What you have said works fine with Github pages but if I add a custom domain, it throws the same errors. Is PublicPath necessary for a custom domain in Github pages?

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