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

    Electron persistent

    Framework
    1
    1
    51
    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.
    • A
      amoss last edited by

      Hi

      I have a store object that I work with and its data is loaded from the server. For simplicity, lets say the object is:

      user : {
         name: "";
         age: 0;
      }
      

      when the user logs in to the web version, the app loads the data from the server into this object and all is good. When the user logs out, the object is forgotten until the next time he logs in and the app loads the data again.

      In electron mode (Windows), I want to store (encrypted) this data locally (in the same folder as the exe file) so the next time the user opens the app and logs in, the data will be loaded from that file instead of querying the server for it.

      Is there a quasar way to do it?

      bonus question:

      quasar build -m electron
      

      creates an exe file in Windows, if I want to create a MAC version, do I have to have a MAC for that?

      Thanks

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