Comments (22)
@DamianGlowala I can't reproduce this. I think it's more likely a browser issue or a Vue devtools issue rather than a problem with nuxt. Would you test in a fresh Chrome browser profile and ensure you're installing https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd?
If you reproduce it, then may I suggest creating a new issue either here or upstream at https://github.com/vuejs/devtools. Feel free to tag me in it and I'll have a look.
from framework.
Not sure if this will help anybody, but I my issue was the build.transpile
option. I need this for prod builds, not development, so I just changed it to the following and it seems to work for now:
build: {
transpile: process.env.NODE_ENV === "development" ? [] : ["element-plus"],
},
After playing around a little while, I think that this is either an uncaught error or a race condition of some kind because it's very finicky. I found that I can reproduce it consistently by putting an incorrect css path into the nuxt config (devtools not found, and no errors thrown except file not found at runtime).
Using devtools v6.1.4
Repro: https://stackblitz.com/edit/github-b6sebj?file=nuxt.config.ts&view=editor
from framework.
If you are experiencing this issue on a cloud VM dev environment (e.g. Codespace), try updating your vite config as per nuxt/nuxt#14367
from framework.
Would you provide a reproduction? 🙏
from framework.
from framework.
@terion-name It shouldn't be the default behaviour. I would guess you're using an old version of the Vue Devtools. Try installing the version with Vue 3 support: https://github.com/vuejs/devtools/releases
from framework.
@danielroe 5.3.4, it's latest on chrome store (not beta channel)
One thing that I use it in brave browser, not chrome itself. But it is chromium based and all extensions work fine there. But I'll double check chrome itself
from framework.
You need the beta version of the devtools for Vue 3 support.
from framework.
Yeap, in chrome it is the same
from framework.
You need the beta version of the devtools for Vue 3 support.
Aaaa, that's the trick. Thank you, I'll try. It's just not mentioned anywhere
from framework.
@danielroe yes, beta works, thank you. It would be great if this had been written somewhere)
from framework.
Hello,
I still have the same issue with both beta and stable version.
Any advice what could be?
EDIT;
i'm using Nuxt3
from framework.
Same here
from framework.
Same
from framework.
same
from framework.
same here, using esm-browser version
from framework.
Same
from framework.
It is also not working for me (nuxt3 rc). The vue extension checks window.__VUE_DEVTOOLS_GLOBAL_HOOK__
which for me yields
{
"devtoolsVersion": "6.0",
"Vue": null,
"_buffer": [],
"store": null,
"initialState": null,
"storeModules": null,
"flushStoreModules": null,
"apps": []
}
For the devtools extension to work, both vue and apps have to be present.
Edit: Sometimes apps
is correctly present, but Vue
is still null.
Can this please be reopened?
from framework.
@danielroe shall we reopen? Having the same issue. Fresh Nuxt RC3 project without devtools working. Are they working for you locally?
from framework.
After playing around a little while, I think that this is either an uncaught error or a race condition of some kind because it's very finicky. I found that I can reproduce it consistently by putting an incorrect css path into the nuxt config (devtools not found, and no errors thrown except file not found at runtime).
The last part fixed my issue.
In my case the problem was that I defined a css file in the nuxt.config.ts, but was not present in the assets directory.
Adding the file back solved the issue and now the Vue tab is showing as expected.
Running Nuxt3-rc4
from framework.
https://stackblitz.com/edit/github-b6sebj?file=nuxt.config.ts&view=editor
sorry but vue devtool is still not working.
nuxt 3.0.0-rc.8
vue-devtool 6.2.1
from framework.
Please see #2284 (comment).
from framework.
Related Issues (20)
- how to use obfuscator on nuxt3
- Accessibility of API return
- Migration to `nuxt/nuxt` HOT 1
- Dependency Dashboard
- [FEATURE REQUEST] Preview mode for Nuxt 3 HOT 1
- ContentResolver fails when using nuxt rc12 or newer HOT 1
- onResponseError
- about middleware and logs collection HOT 1
- Place of the nitro server in Techempower Web Framework Benchmarks HOT 1
- Postcss with Nuxt 3.0.0 HOT 1
- Never use browser cache in https access
- Playwright chromioum works in dev but fails on production
- How to get access localStorage Nuxt.config.ts version 3?
- How can i get the response headers on the client side? HOT 1
- How to add a cache policy HOT 1
- Help: How to use App.vue and wait for store to be ready through the app
- HMR won't connect behind reverse proxy with Firefox HOT 2
- Windows-IIS-Server
- vite watch is not working in node_modules directory. HOT 1
- Server directory documentation about SSR requests and performance with nuxt
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 framework.