Comments (7)
Hello @webfansplz,
I have tried this, but it doesn't seem to work for me.
from devtools-next.
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.
Is there any output from vite? devtool-next will be injected by vite
from devtools-next.
@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.
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 byphp artisan serve
command and vite run on5173
How to resolve it?
You can try appendTo option to configure it. see: https://devtools-next.vuejs.org/guide/vite-plugin
from devtools-next.
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.
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)
- Error: Dynamic require of "crypto" is not supported HOT 5
- "Open In Editor" needs some attention HOT 4
- Differentiate between `vue inspector` and `component tree inspector` HOT 9
- Bug(kit): parse state field types does not work as expected
- When inspecting an component, clicking on the green rectangle causes the event to propagate downwards
- When selecting the component in devtool, the select state cannot be restored after refreshing the page
- TypeError: Cannot read properties of undefined (reading 'root') HOT 7
- fail to run `dev` script in a new-cloned repo
- Add integration with Vee-Validate
- Add integration with Vee-Validate
- Add integration with @tanstack/vue-query HOT 4
- Cannot view components HOT 3
- Be compatible with the esm-only unocss.
- 多个 App 实例的时候,点击 component 的时候报错 HOT 4
- After upgrading to the latest version v7.0.26, there are build exceptions.
- 应该识别页面上所有的 app 实例 HOT 6
- Open component in editor opens others editor instead of VSCode HOT 3
- How to catch component's event? HOT 2
- Autofix.ci App Not Installed
- Browser Extension HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devtools-next.