Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Vue.js devtools

    General Discussion
    5
    9
    2531
    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.
    • K
      karkiswapnil last edited by

      Is there a way to activate vue.js devtools?

      1 Reply Last reply Reply Quote 0
      • B
        bagisto-mogul Banned last edited by

        Vuejs devtools will require you to install their browser extension.
        Please download the browser extension according to your
        browser by using the links below:

        1. Firefox
        2. Chrome

        Regards:
        Prashant Singh.

        1 Reply Last reply Reply Quote 0
        • K
          karkiswapnil last edited by

          I am using Firefox and i did install the extension. it says "Vue.js is detected on this page. Devtools inspection is not available because it's in production mode or explicitly disabled by the author. "
          I tried running npm dev and also npm watch
          I also added Vue.config.debug = true it boot app.js .
          And it still isnt working.

          1 Reply Last reply Reply Quote 0
          • B
            bagisto-mogul Banned last edited by

            @karkiswapnil
            No this is not the case, you have took it completely wrong.

            I recommend you to open your browser console and you would see
            VueJS tab. Just click on it and you can see the vue components.

            vuejs devtools.png

            1 Reply Last reply Reply Quote 0
            • K
              karkiswapnil last edited by

              This is what i have.
              I dont get any devtools on inspect. 😞

              Screenshot (8).png

              1 Reply Last reply Reply Quote 0
              • B
                bagisto-mogul Banned last edited by bagisto-mogul

                @karkiswapnil
                We have used vuejs dependencies in shop, admin and ui packages.
                If you go to shop package use the command:

                • npm install (to install npm dependencies)
                • npm run dev

                This will break down the production cycle and then you can see the vuejs tab.

                Another possibility of this situation is that you must have messed with order of JS files used on your layout file. Make sure shop.js is used first and then ui.js.

                If you still face any issues then file a ticket at support@webkul.com so we will inspect the issue even deeper.

                1 Reply Last reply Reply Quote 0
                • D
                  dulox2 last edited by

                  Same problem here. I have been seeing this problem all over the forum all the time and people seems not getting trough it. Can someone give solution to it?

                  1 Reply Last reply Reply Quote 0
                  • V
                    Vaishali Agarwal last edited by

                    @dulox2
                    you may refer to this solution https://github.com/bagisto/bagisto/issues/2986

                    Ask freely for further help.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • D
                      darumdam last edited by darumdam

                      It's really easy, you can assign to Vue object in a parent temple column, and then you have it all.
                      It is not necessary to enable developer mode (npm run dev)
                      For example in views/layouts/scripts.blade.php

                      <script type="text/javascript">
                          let debug   = "{{env('APP_DEBUG')}}";
                      
                          if (debug) { window.Vue.config.devtools = true;}
                      
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post