TheSpik3
TheSpik3
Explore posts from servers
NNuxt
Created by DANANZ M1 on 3/24/2024 in #❓・help
Why does Nuxt Dev Tools does not have the ability to inspect a component's state ?
4 replies
NNuxt
Created by DANANZ M1 on 3/24/2024 in #❓・help
Why does Nuxt Dev Tools does not have the ability to inspect a component's state ?
4 replies
NNuxt
Created by brunomgmateus on 3/22/2024 in #❓・help
Vue devtools 6.6.1 doesn't seem to work properly since Nuxt 3.10, and stopped displaying in 3.11
11 replies
NNuxt
Created by brunomgmateus on 3/22/2024 in #❓・help
Vue devtools 6.6.1 doesn't seem to work properly since Nuxt 3.10, and stopped displaying in 3.11
Hey, downgrading "@nuxt/devtools": "1.0.8" seems to fix the issue for now.
11 replies
NNuxt
Created by TheSpik3 on 6/5/2023 in #❓・help
How to render single component on server to HTML
Nevermind, I found this https://github.com/Dave136/vue-email 😄
4 replies
NNuxt
Created by TheSpik3 on 6/5/2023 in #❓・help
How to render single component on server to HTML
I would like to use it for something like this https://react.email/docs/utilities/render, so I don't think server components are useable for it.
4 replies
NNuxt
Created by TheSpik3 on 5/27/2023 in #❓・help
Neon DB serverless driver local development
Did you use their serverless driver? https://neon.tech/docs/serverless/serverless-driver I get this error: [nuxt] [request error] [unhandled] [500] m.getRandomValues is not a function 8:25:15 PM at Object.io (./node_modules/@neondatabase/serverless/index.js:1:44038) at Object.cu [as startSession] (./node_modules/@neondatabase/serverless/index.js:1:58678) at ./node_modules/@neondatabase/serverless/index.js:43:25923 at Ht._checkPgPass (./node_modules/@neondatabase/serverless/index.js:43:25508) at Ht._handleAuthSASL (./node_modules/@neondatabase/serverless/index.js:43:25881) at F.emit (./node_modules/@neondatabase/serverless/index.js:1:30985) at ./node_modules/@neondatabase/serverless/index.js:43:20214 at hn.parse (./node_modules/@neondatabase/serverless/index.js:43:12987) at V.<anonymous> (./node_modules/@neondatabase/serverless/index.js:43:18325) at F.emit (./node_modules/@neondatabase/serverless/index.js:1:30985) Also I have to import ws from 'ws' to get it at least try to connect, otherwise I'm getting: [nuxt] [request error] [unhandled] [500] All attempts to open a WebSocket to connect to the database failed. Please refer to https://github.com/neondatabase/serverless#run-on-node at ws (./node_modules/@neondatabase/serverless/index.js:43:2727) 7:01:04 PM at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
3 replies
NNuxt
Created by Furnaxe on 5/3/2023 in #❓・help
Nuxt3 and Three.js bug
Hmm, still works, the model takes some time to load, but its working
14 replies
NNuxt
Created by Furnaxe on 5/3/2023 in #❓・help
Nuxt3 and Three.js bug
Are you coming back to the page via back button or another NuxtLink?
14 replies
NNuxt
Created by Furnaxe on 5/3/2023 in #❓・help
Nuxt3 and Three.js bug
No (i have different model, but its loading fine)
14 replies
NNuxt
Created by Furnaxe on 5/3/2023 in #❓・help
Nuxt3 and Three.js bug
nuxt version is 3.4.1 and three version is 0.151.3
14 replies
NNuxt
Created by Furnaxe on 5/3/2023 in #❓・help
Nuxt3 and Three.js bug
So I tried your original code and it works, weird
14 replies
NNuxt
Created by Furnaxe on 5/3/2023 in #❓・help
Nuxt3 and Three.js bug
I guess you need to make the function inside onMounted async and add await nextTick() in the beginning of it, since elements are available only after nextTick in script setup 😅
14 replies
NNuxt
Created by TheSpik3 on 4/5/2023 in #❓・help
SWR on Vercel
One solution would be to make NuxtLink external - then it gets prerendered version which has correct data, but that doesn't feel like best option to me.
2 replies