Miguel
Miguel
Explore posts from servers
NNuxt
Created by Miguel on 7/31/2024 in #❓・help
Same page component for 2 routes?
I have a /news route, with a News component, that fetches and renders news items from my cms. Now I also have /news/category/[category] route, which shows news for a certain category. Now the code is almost identical to the normal news route/component, I only need to pass a slug if it's set in the url. Can I reuse this component to serve both routes?
/news (route 1)
/news/category/[category] (route 2)
/news (route 1)
/news/category/[category] (route 2)
2 replies
KKinde
Created by Miguel on 5/17/2024 in #💻┃support
How to get the token in Nuxt?
In the JS SDK docs I can see const token = await kinde.getToken(); However I don't see this example in the Nuxt documentation, how can I get the token in Nuxt, to call my backend API? (node)
7 replies
KKinde
Created by Miguel on 5/13/2024 in #💻┃support
Workflow with separate NodeJS/Vue Webapp?
I'm wondering what the proposed workflow is for a webapp that has a backend (nodejs/express) and a frontend (vue), I'm using Supertokens now, which has code for both backend and frontend, and I would love to switch to Kinde, thanks!
7 replies