GithubHelp home page GithubHelp logo

Comments (7)

alokVishu avatar alokVishu commented on June 10, 2024 2

Hello @webfansplz,

I have tried this, but it doesn't seem to work for me.

from devtools-next.

Smef avatar Smef commented on June 10, 2024 1

This is available now, and appears to work well. The only config you need is:

        plugins: [
            VueDevTools({
                appendTo: "app.ts",
            }),
            ...
            ...
         ],

It seems the separate window option at https://my-host.test:5173/__devtools__/ isn't yet functional, but this is still significantly better.

from devtools-next.

chiehw avatar chiehw commented on June 10, 2024

Is there any output from vite? devtool-next will be injected by vite

from devtools-next.

alokVishu avatar alokVishu commented on June 10, 2024

@chiehw, there is no output from Vite. If you open http://localhost:5173/__devtools__/, you will only see the message "Waiting for connection..."

from devtools-next.

webfansplz avatar webfansplz commented on June 10, 2024

Hello,

I am trying to use the vite-plugin-vue-devtools in a Vuejs + Laravel-based project but I cannot use it because Laravel serves the template in 8000 port by php artisan serve command and vite run on 5173

How to resolve it?

You can try appendTo option to configure it. see: https://devtools-next.vuejs.org/guide/vite-plugin

from devtools-next.

Vorion86 avatar Vorion86 commented on June 10, 2024

I've got the same problem and it seems other do too, since there already is a discussion without a real result #123

from devtools-next.

scottbrodersen avatar scottbrodersen commented on June 10, 2024

My situation is similar but my Vue app that is served by a Go app. The Vue app makes calls to the Go backend as well. I got things working by running the Vue app using vite (port 5173) and configuring a proxy to route backend calls to the Go server (port 3000).

My server config in vite.config.js:

    config.server = {
      hmr: {
        host: 'localhost',
        overlay: true,
      },
      proxy: {
        '/api': {
          target: 'http://localhost:3000',
          secure: false,
          },
        },
      },
    };

from devtools-next.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.