IsaacR943
layers a comprehensive guide
I will read the unjs docs and resolve my questions with gpt or kapa
Layers is one of the features in my opinion set nuxt apart from others. However my main concerns are:
- required additional optimization to 'deflate' the project
- breaking changes in nuxt 4 (btw everyone is waiting for this update ❤️ )
7 replies
Error deploying to fly.io
you will not like the answer but - after done my research it seems that layers add too much over head and even if you deploy the application you end up with a very heavy app (if you dont optimize each layer will have a similar weight and consume similar resources as a stand alone app would).
The solutions was to manually copy paste everything into folders at the destination
10 replies
Import layer with supabase module
1. Packages are up to date
2. Module is compatible for w the nuxt version i use
3. Imposible to know where to adjust the import since the creteClient from supabase-js is not use on any of my files but rather somewhere in node_modules
4. transpile the library doesnt work
5. No way to know which versions of supabase would be conflicting.
6. Since no error is prompt on origin layer the configuration is done correctly - its a problem of the main app
6 replies