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

    Vue apollo configuration with caching for ssr pwa mode(Solved)

    Help
    3
    9
    377
    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.
    • W
      wolfiton last edited by wolfiton

      Hi everyone,

      Are any of the members using Vue apollo for SSR with PWA mode and tests?

      If you are can you share your configuration with me or a guide how to set up my dev environment correctly for quasar using this technologies?

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        Are you using our Apollo app extension? It is built to support SSR.

        https://github.com/quasarframework/app-extension-apollo

        Scott

        1 Reply Last reply Reply Quote 0
        • W
          wolfiton last edited by

          Hi @s-molinari,

          Saw your extension but also read that is not ready for production.

          So can I use it for production?

          Thanks for the quick reply

          SB 1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            Depends on what “production” is. I’d say, if it works in development, it should work in production. There just isn’t a guarantee of no issues. Well, in OSS there is never a guarantee. 😁 And, in the end, the AE isn’t a huge world of code either. Try it out or look at what is in it and take what you want. That’s OSS for ya. 😁

            Scott

            1 Reply Last reply Reply Quote 1
            • SB
              SB @wolfiton last edited by

              @wolfiton
              I’m using the extension with postgraphile (PostgreSQL + GraphQL) in SPA since 9 months. No problems.

              W 1 Reply Last reply Reply Quote 0
              • W
                wolfiton @SB last edited by wolfiton

                @SB
                Thanks @SB for sharing your experience with the apollo extension. I am much more confident now that I can use it for my projects.

                1 Reply Last reply Reply Quote 0
                • s.molinari
                  s.molinari last edited by

                  @SB - It can’t be the AE we have now, as it was rewritten just over a month or so ago. 🙂

                  Scott

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

                    @s-molinari - I’m using @quasar/quasar-app-extension-graphql": "^1.0.0-alpha.1. After your reply I have a look at the extension on https://libraries.io/npm/@m8a%2Fquasar-app-extension-graphql and it seems that app-extension-apollo is the replacement.
                    Is this true? If so, can you explain the differences?

                    1 Reply Last reply Reply Quote 0
                    • s.molinari
                      s.molinari last edited by

                      Yes. That is exactly right. The differences are mainly the new AE also takes into consideration SSR mode and it offers a better way to config and hook custom code into the initialization of Apollo.

                      Scott

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