salomon_.
salomon_.
NNuxt
Created by salomon_. on 9/10/2024 in #❓・help
Cannot render HTML string comes from external API
thank you
3 replies
NNuxt
Created by salomon_. on 5/31/2024 in #❓・help
Server side fetch refetches on client 3 times
So there is no way in nuxt to fetch some data here and there and it auto deduped repeatable calls? Like in tanstack query? So I should fetch it on top and pass through 5+ components?
7 replies
NNuxt
Created by salomon_. on 5/31/2024 in #❓・help
Server side fetch refetches on client 3 times
Anyone?
7 replies
NNuxt
Created by salomon_. on 5/28/2024 in #❓・help
How to manage 'remote' localization
@Anjjar but usually locale data stored in json files and then utilize by i18n module, how it will be in my case?
5 replies
NNuxt
Created by FoxCode on 3/10/2023 in #❓・help
Reduce unused javascript (nuxt)
Will that affect only bundling? Component still be server side rendered, right?
30 replies
DTDrizzle Team
Created by 균어 on 3/5/2024 in #help
How to get findMany with count?
Hey, did you find a solution? Have same question
9 replies
NNuxt
Created by salomon_. on 11/25/2022 in #❓・help
Correct way to get cookie from the rest api
@rohrig Let me explain a bit. So, now I have a dashboard built with django as a rest api and vue 3 (spa) on frontend side. I have a static auth pages, login, signup, etc served by django so it generates and pass token and session to the client. The index.html of spa app is also served by django so I always have the csrftoken to do a rest api like post etc. So I have a kinda hybrid app where we use static django pages for login and then redirect to the spa. But now I need to ged rid of the static pages. So looking for a way to do an auth flow
17 replies
NNuxt
Created by salomon_. on 11/25/2022 in #❓・help
Correct way to get cookie from the rest api
@rohrig where should I get csrftoken in this case?
17 replies
NNuxt
Created by salomon_. on 11/25/2022 in #❓・help
Correct way to get cookie from the rest api
@rohrig The CSRF token is generated on backend side (Django) so I need to get it from there to be able to work with the rest api. Thanks for the links, I will check it out.
17 replies
NNuxt
Created by salomon_. on 11/25/2022 in #❓・help
Correct way to get cookie from the rest api
@Zampa I don't think this is an answer to my initial question. Your message showing how to get cookie on server side, but I am asking how to get cookie from backend rest api and send it to the user. Thank you anyway. Still looking for a solution🥹
17 replies