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

    Read httponly cookie in SPA mode

    Framework
    1
    1
    258
    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.
    • Z
      zajca last edited by

      Hi,
      I’m looking for way how to read cookie in SPA mode.
      I would like to read cookies best in boot set it with vuex and read on client.

      This is piece of cake in Nuxt plugin.

      export default ({ app, store, req }, inject) => {
        if (!process.browser) {
          // read cookie from req and set store
        }
      }
      

      I’m looking for something similar in quasar.

      Docs here are bit lacking https://v1.quasar-framework.org/quasar-plugins/cookies#Introduction there is use of cookie plugin in component but I can’t any place to execute it on server.

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