Workaround issue with VSCode Nuxtr
When the object passed to defineNuxtConfig contains logic for enable devtools option the Nuxtr plugin annoyingly shows an endlessly spinning orb on the statusline.
This commit is contained in:
parent
fe06d0d6bd
commit
75abd82f81
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
const enableDevtools = !process.env.DISABLE_DEV_TOOLS
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-11-01',
|
||||
devtools: { enabled: !process.env.DISABLE_DEV_TOOLS },
|
||||
devtools: { enabled: enableDevtools },
|
||||
runtimeConfig: {
|
||||
cookieSecretKeyFile: "",
|
||||
vapidSubject: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue