Bootsmann
Bootsmann
NNuxt
Created by ludgart on 12/28/2024 in #❓・help
Component is already mounted, please use $fetch instead
hi @ludgart do you have a ss or copy of the full setup function? or can you make a quick reproduction of this, maybe i can help.
8 replies
NNuxt
Created by Felix on 12/28/2024 in #❓・help
Is it possible to inject (typed) variables on a component by component basis?
Do you mean as a typed prop?
6 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
@TheAlexLichter Heres the PR: https://github.com/nuxt/nuxt/pull/30437 let me know if you need any changes or i did something wrong, this is my first PR for the nuxt framework 🙂
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
@TheAlexLichter I read the contribute guide and added this issue: https://github.com/nuxt/nuxt/issues/30436
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
yeah it is, just still wanna notify with the right 404 to not introduce a new 404 to the client 🙂
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
Works by adding the 200.html 🙂
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
oki i'll try with the 404.html aswell
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
@TheAlexLichter do i need to add further for this to work ? 🙂 our should i try the generate option, do you think that will work ?
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
No description
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
Works by navigating via NuxtLink but direct load og refreshing the page gives 404
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
@TheAlexLichter one small thing. When i navigate to a page and browser reload it gives me 404 🙂
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
My preview works with this combination ! Thanks a lot! I'll try to make a PR for documentation update for this part. Do you have a PR guide / documentation PR guide? 🙂
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
No description
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
it renders / as you can see on the images attached 🙂 so i think that part works as it should
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
okay so you suggest to use ssr:false, experimental.noVueServer and npm run build? 🙂
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
@TheAlexLichter okay. but would this just return the server/api calls as null?
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
I can try with the build instead. i was just read this article on nuxt. https://nuxt.com/docs/guide/concepts/rendering#client-side-rendering and here they refer to generate mode with ssr false. but do not mention the server as a warning here. Maybe this should be added?
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
and thats a part of my question should i use a useAsyncData approach instead?
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
yes 🙂
52 replies
NNuxt
Created by Bootsmann on 1/2/2025 in #❓・help
SSR false not working.
@TheAlexLichter Ty for answering. But why does it return the 404 page on preview? 🙂 the reponse code is not relevant for me. The part thats relevant is that i want to show the site in a "preview" mode. (just fetch and display the page in client fetch) instead og the builded version. It's similar to the nuxt 2 ssr:false approach.
52 replies