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

    preFetch & registerModule error

    Help
    2
    2
    219
    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.
    • altezzalab
      altezzalab last edited by

      I follow this doc https://quasar.dev/quasar-cli/prefetch-feature#Store-Code-Splitting to code-split a store call “admin” however, the registerMoudule will call twice in preFetch and mounted, thus generate a Vuex error below.

      [vuex] duplicate namespace admin/ for the namespaced module admin

      what’s the best way to solve it?

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

        @altezzalab

        Please create a codepen.io to demonstrate your problem so we can give better support.

        here’s someone with the same error:
        https://stackoverflow.com/questions/59338642/duplicate-namespace-auth-for-the-namespaced-module-auth

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