Closed dotmot closed 7 months ago
When buildAssetsDir is configured in nuxt.config.ts the vite-inspect tab will show a 404 as it tries to visit /_nuxt/__inspect/ instead of the /[buildAssetsDir]/__inspect.
buildAssetsDir
/_nuxt/__inspect/
/[buildAssetsDir]/__inspect
This is due to the vite-inspect having this path hardcoded here.
I have open a PR that fixes this.
https://stackblitz.com/edit/github-albcch?file=nuxt.config.ts
The vite-inspect implementation should use buildAssetsDir when defining its src path.
[pr] https://github.com/nuxt/devtools/pull/588
đ The bug
When
buildAssetsDir
is configured in nuxt.config.ts the vite-inspect tab will show a 404 as it tries to visit/_nuxt/__inspect/
instead of the/[buildAssetsDir]/__inspect
.This is due to the vite-inspect having this path hardcoded here.
I have open a PR that fixes this.
đ ī¸ To reproduce
https://stackblitz.com/edit/github-albcch?file=nuxt.config.ts
đ Expected behavior
The vite-inspect implementation should use buildAssetsDir when defining its src path.
âšī¸ Additional context
[pr] https://github.com/nuxt/devtools/pull/588