You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
myCustomScript is not defined
at eval (./virtual:nuxt:/home/projects/nuxt-starter-pkwfkx/.nuxt/plugins/server.mjs#cjs:40:89)
at Module.executeAsync (./node_modules/.pnpm/[email protected]/node_modules/unctx/dist/index.mjs:130:19)
at setup (./virtual:nuxt:/home/projects/nuxt-starter-pkwfkx/.nuxt/plugins/server.mjs#cjs:40:65)
at eval (./node_modules/.pnpm/[email protected][email protected]/node_modules/nuxt/dist/app/nuxt.js#cjs:141:60)
at fn (./node_modules/.pnpm/[email protected][email protected]/node_modules/nuxt/dist/app/nuxt.js#cjs:223:44)
at Object.callAsync (./node_modules/.pnpm/[email protected]/node_modules/unctx/dist/index.mjs:87:55)
at eval (./node_modules/.pnpm/[email protected][email protected]/node_modules/nuxt/dist/app/nuxt.js#cjs:226:56)
at Object.runWithContext (./node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js#cjs:3903:18)
at callWithNuxt (./node_modules/.pnpm/[email protected][email protected]/node_modules/nuxt/dist/app/nuxt.js#cjs:226:24)
I have extended the Script Registry through the scripts:registry hook in a custom module. I expect it to be configurable in nuxt.config.ts via scripts.registry.myCustomModule key (see linked reproduction).
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered:
🐛 The bug
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-yxpzcr?file=nuxt.config.ts
🌈 Expected behavior
I have extended the Script Registry through the
scripts:registry
hook in a custom module. I expect it to be configurable innuxt.config.ts
viascripts.registry.myCustomModule
key (see linked reproduction).ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: