_vfs cannot been retrieved if baseURL is different than / and behind proxy
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 214
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 18
Description
🐛 The bug
_vfs cannot been retrieved if baseURL is different than / and behind proxy
🛠️ To reproduce
export default defineNuxtConfig({
app: { baseURL: '/prefix/' },
devtools: { enabled: true },
});
Put your app behind a proxy which serve only your baseUrl
🌈 Expected behavior
_vfs.json is fetched using /prefix/_vfs.json
ℹ️ Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in packages/devtools/client/composables/state.ts at the referenced line and inspect how _vfs.json is fetched when Nuxt app.baseURL is set. Reproduce the issue with baseURL '/prefix/' behind a proxy serving only that path, then verify that the request uses /prefix/_vfs.json.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100