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
We are using the clearNuxtData function and it throws us an import error.
With Script Setup lang="ts"
Without Script Setup lang="ts"
how to use clearNuxtData function?
There is any error?
Describe the bug
We are using the clearNuxtData function and it throws us an import error.
With Script Setup lang="ts"
Without Script Setup lang="ts"
how to use clearNuxtData function?
There is any error?
Additional context
No response
Logs
[nitro] [dev] [unhandledRejection] ReferenceError: clearNuxtData is not defined
at setup (/home/foticos/var/www/wanapix_next/src/pages/cart.vue:59:2)
at _sfc_main.setup (/home/foticos/var/www/wanapix_next/src/pages/cart.vue:279:23)
at callWithErrorHandling (/home/foticos/var/www/wanapix_next/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:157:22)
at setupStatefulComponent (/home/foticos/var/www/wanapix_next/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7109:29)
at setupComponent (/home/foticos/var/www/wanapix_next/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7064:11)
at renderComponentVNode (/home/foticos/var/www/wanapix_next/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:172:17)
at renderVNode (/home/foticos/var/www/wanapix_next/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:299:22)
at renderComponentSubTree (/home/foticos/var/www/wanapix_next/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:263:13)
at renderComponentVNode (/home/foticos/var/www/wanapix_next/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:188:16)
at renderVNode (/home/foticos/var/www/wanapix_next/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:299:22)
The text was updated successfully, but these errors were encountered:
Environment
Linux
v18.7.0
3.0.0-rc.11
0.5.4
npm@8.15.0
vite
-
-
-
Reproduction
We are using the clearNuxtData function and it throws us an import error.
With Script Setup lang="ts"
Without Script Setup lang="ts"
how to use clearNuxtData function?
There is any error?
Describe the bug
We are using the clearNuxtData function and it throws us an import error.
With Script Setup lang="ts"
Without Script Setup lang="ts"
how to use clearNuxtData function?
There is any error?
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: