🐛 The bug
Nuxt devtools doesn't load and console throws some errors, especially the [vite-plugin-hot] Failed to import "/@vite/client" one. Even after this commit.
We're using a custom value for buildAssetsDir.
Solution: when commenting out this buildAssetsDir, everything works. So maybe just getting that value from config when loading the Vite client ?
🛠️ To reproduce
https://stackblitz.com/edit/github-cwjhut?file=nuxt.config.ts
🌈 Expected behavior
Devtools should load even when using a custom buildAssetsDir path
ℹ️ Additional context
No response
🐛 The bug
Nuxt devtools doesn't load and console throws some errors, especially the
[vite-plugin-hot] Failed to import "/@vite/client"one. Even after this commit.We're using a custom value for buildAssetsDir.
Solution: when commenting out this buildAssetsDir, everything works. So maybe just getting that value from config when loading the Vite client ?
🛠️ To reproduce
https://stackblitz.com/edit/github-cwjhut?file=nuxt.config.ts
🌈 Expected behavior
Devtools should load even when using a custom
buildAssetsDirpathℹ️ Additional context
No response