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
[nuxt] [request error] [unhandled] [500] useImage is not defined
at useImageUrl (./composables/utils/useImageUrl.js:2:15)
at Object.handler (./server/api/deck/[code].get.js:65:1)
at async ./node_modules/h3/dist/index.mjs:1975:19
at async Object.callAsync (./node_modules/unctx/dist/index.mjs:72:16)
at async toNodeHandle (./node_modules/h3/dist/index.mjs:2266:7)
at async ufetch (./node_modules/unenv/runtime/fetch/index.mjs:9:17)
at async $fetchRaw2 (./node_modules/ofetch/dist/shared/ofetch.37386b05.mjs:222:26)
at async $fetchRaw2 (./node_modules/ofetch/dist/shared/ofetch.37386b05.mjs:263:14)
at async $fetch2 (./node_modules/ofetch/dist/shared/ofetch.37386b05.mjs:268:15)
at async ./pages/deck/[code].vue:69:18
Is it support on server side? or any other way let me generate image url?
thanks.
The text was updated successfully, but these errors were encountered:
JasonXDDD
changed the title
Can I use useImage() composible on the server side api ?
Can I use useImage() composable on the server side api ?
Aug 28, 2024
I want to generate image url path on my server api response. it's my composable
useImageUrl.js
and my server api:
but when I
yarn dev
, it shows the error:Is it support on server side? or any other way let me generate image url?
thanks.
The text was updated successfully, but these errors were encountered: