Code Monkey home page Code Monkey logo

Comments (22)

danielroe avatar danielroe commented on May 22, 2024 2

@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.

mlpierce22 avatar mlpierce22 commented on May 22, 2024 2

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.

upepo-mwindaji avatar upepo-mwindaji commented on May 22, 2024 2

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.

danielroe avatar danielroe commented on May 22, 2024

Would you provide a reproduction? 🙏

from framework.

terion-name avatar terion-name commented on May 22, 2024

from framework.

danielroe avatar danielroe commented on May 22, 2024

@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.

terion-name avatar terion-name commented on May 22, 2024

@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.

danielroe avatar danielroe commented on May 22, 2024

You need the beta version of the devtools for Vue 3 support.

from framework.

terion-name avatar terion-name commented on May 22, 2024

Yeap, in chrome it is the same

from framework.

terion-name avatar terion-name commented on May 22, 2024

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.

terion-name avatar terion-name commented on May 22, 2024

@danielroe yes, beta works, thank you. It would be great if this had been written somewhere)

from framework.

casualmatt avatar casualmatt commented on May 22, 2024

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.

T-Zahil avatar T-Zahil commented on May 22, 2024

Same here

from framework.

ATLANT-Z avatar ATLANT-Z commented on May 22, 2024

Same

from framework.

reilnuud avatar reilnuud commented on May 22, 2024

same

from framework.

tbb2 avatar tbb2 commented on May 22, 2024

same here, using esm-browser version
image

from framework.

krthr avatar krthr commented on May 22, 2024

Same

from framework.

tobiasdiez avatar tobiasdiez commented on May 22, 2024

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.

DamianGlowala avatar DamianGlowala commented on May 22, 2024

@danielroe shall we reopen? Having the same issue. Fresh Nuxt RC3 project without devtools working. Are they working for you locally?

from framework.

steel89ita avatar steel89ita commented on May 22, 2024

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.

millievn avatar millievn commented on May 22, 2024

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.

danielroe avatar danielroe commented on May 22, 2024

Please see #2284 (comment).

from framework.

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.