Thick Black W
Thick Black W
NNuxt
Created by Thick Black W on 5/30/2025 in #❓・help
Nuxt docker volume for cache management?
@kapa.ai if the files accumulate to max storage space, does it auto delete then or will it crash?
18 replies
NNuxt
Created by Thick Black W on 5/30/2025 in #❓・help
Nuxt docker volume for cache management?
@kapa.ai well, if swr is true, and the key is never called again, will the cache ever clear up?
18 replies
NNuxt
Created by Thick Black W on 5/30/2025 in #❓・help
Nuxt docker volume for cache management?
@kapa.ai how to set the size of the cache storage, and volume, and if volume available is of less size than cache storage, how to handle that. Finally automatic volume clearing. I want to clarify, does the server not scan for expired keys and doesn't remove them? If so, how to prevent stale keys bloat?
18 replies
NNuxt
Created by Thick Black W on 5/29/2025 in #❓・help
.env file not working in production build
I am not using one of the traditional hosting solutions. I'm trying to save costs, and don't want to become dependent of a hosting solution's provider. Anyway, I have to upload everything manually by hand, i.e. SSH. So now that I have the build folder, and it is working with the node cmd above, my initial guess is that this should work fine once it is on the server, won't it? In any case, I will test this out in a moment with deployment to docker. Will be running that locally to make sure everything works smoothly, hopefully. 🤞
21 replies
NNuxt
Created by Thick Black W on 5/29/2025 in #❓・help
.env file not working in production build
are you saying that once I upload the .output folder, this wont work?
21 replies
NNuxt
Created by Thick Black W on 5/29/2025 in #❓・help
.env file not working in production build
I mapped the .env to runtimeConfig in nuxt.config, then I built it out. I previewed it with node .output/server/index.mjs just now, and it seems to be working.
21 replies
NNuxt
Created by Thick Black W on 5/29/2025 in #❓・help
.env file not working in production build
does that work? is that safe
21 replies
NNuxt
Created by Thick Black W on 5/29/2025 in #❓・help
.env file not working in production build
because my .env only had one variable, i mapped that to runtimeConfig and used that
21 replies
NNuxt
Created by Thick Black W on 5/29/2025 in #❓・help
.env file not working in production build
@WiFi Plug
21 replies
NNuxt
Created by Thick Black W on 5/29/2025 in #❓・help
.env file not working in production build
when I am deploying, I just like to keep things super simple and run node .output/server/index.mjs and have it automatically launch on the port in the config. is this not possible?
21 replies
NNuxt
Created by Thick Black W on 5/26/2025 in #❓・help
How to convert <img /> to <NuxtImg />?
should I be?
11 replies
NNuxt
Created by Thick Black W on 5/26/2025 in #❓・help
How to convert <img /> to <NuxtImg />?
so in runtime if I used <img > it wouldn't work either? @kapa.ai
11 replies
NNuxt
Created by Thick Black W on 5/25/2025 in #❓・help
Where is the documentation for $fetch for both nitro server-side and client-side?
right now I am trying to figure out how to cache all the fetch calls 1st how much storage to dedicate to the caches. 2nd I need to make sure "error" fetched are not cached, how to read and send status codes. in express they explicitly force setting status codes as good practice, but nuxt docs don't show that. poor practice
12 replies
NNuxt
Created by Thick Black W on 5/25/2025 in #❓・help
Where is the documentation for $fetch for both nitro server-side and client-side?
what to pass in options. there isn't a complete list on what to pass in. i think this is due to the options being http vanilla options so they don't list them out. unfortunately, for a new dev, I jumped straight into nuxt after a simple vanilla project, vue project, and now nuxt.
12 replies
NNuxt
Created by Thick Black W on 5/25/2025 in #❓・help
Where is the documentation for $fetch for both nitro server-side and client-side?
@kapa.ai provide the options here
12 replies
NNuxt
Created by Thick Black W on 5/24/2025 in #❓・help
Server - nitro cache "$fetch"ed data ?
@kapa.ai no, the "Options" object, what are the differences? does server take "method" in the options. In the nitro documentation for $fetch, I didn't see all the $fetch options of nuxt client.
23 replies
NNuxt
Created by Thick Black W on 5/24/2025 in #❓・help
Server - nitro cache "$fetch"ed data ?
@kapa.ai what are the "options" differences on client and server side?
23 replies
NNuxt
Created by Thick Black W on 5/24/2025 in #❓・help
Server - nitro cache "$fetch"ed data ?
@kapa.ai is the $fetch on client the same as server?
23 replies
NNuxt
Created by Thick Black W on 5/24/2025 in #❓・help
Server - nitro cache "$fetch"ed data ?
@kapa.ai where can I find the api doc for $fetch options?
23 replies