Giter VIP home page Giter VIP logo

Comments (7)

RichiCoder1 avatar RichiCoder1 commented on July 18, 2024

It looks like the service worker is doing something very bizzare to the iframe that the devtools loads.

Edit: it looks like the default navigateFallbackAllowlist is actually /\// and not /\/$/, resulting the devtools getting caught.

from nuxt.

userquin avatar userquin commented on July 18, 2024

what's the url for nuxt dev tools iframe?

from nuxt.

RichiCoder1 avatar RichiCoder1 commented on July 18, 2024

/__nuxt_devtools__/client/modules/overview, though I believe it loads a different path under /__nuxt_devtools__/client/* initially.

from nuxt.

userquin avatar userquin commented on July 18, 2024

dev plugin is using /^\/$/: https://github.com/vite-pwa/vite-plugin-pwa/blob/main/src/plugins/dev.ts#L135

from nuxt.

userquin avatar userquin commented on July 18, 2024

are you using custom service worker (injectManifest strategy)?

from nuxt.

RichiCoder1 avatar RichiCoder1 commented on July 18, 2024

Ah, this may have been a copy pasta fail on my part. Somehow navigateFallback got set to / in my config. Apologies!

from nuxt.

userquin avatar userquin commented on July 18, 2024

@RichiCoder1 so, can this be closed?

from nuxt.

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.