mihainutuu
mihainutuu
Explore posts from servers
KKinde
Created by mihainutuu on 10/26/2024 in #💻┃support
Kinde with astro
Hi all! Is there any way to take the userDetails by ssr not by client from script tag?: <!--index.astro--> --- import astroLogo from '../assets/astro.svg?url'; import qwikLogo from '../assets/qwik.svg?url'; import { Counter } from '../components/counter.tsx'; import Layout from '../layouts/Layout.astro'; const name = 'Unknown'; --- <Layout title="Qwik + Astro"> <main id="app"> <div> {Welcome ${name}} </div> <h1>Qwik + Astro</h1> <Counter />
<div id="logged_out_view"> <button id="login" type="button">Sign in</button> <button id="register" type="button">Register</button> </div> </main> </Layout> <script> import { kinde } from '../clientKinde'; const userDetails = kinde.getUser(); console.log({ userDetails }); const loginId = document.getElementById('login'); const registerId = document.getElementById('register'); loginId && loginId.addEventListener('click', async () => { await kinde.login(); }); registerId && registerId.addEventListener('click', async () => { await kinde.register(); }); </script>
5 replies
DDeno
Created by mihainutuu on 11/11/2023 in #help
how I can create an restful api with deno and firebase as database?
how I can create an restful api with deno and firebase as database?
3 replies
DDeno
Created by mihainutuu on 10/12/2023 in #help
how I can install antd in my deno project?
how I can install antd in my deno project?
2 replies
DDeno
Created by mihainutuu on 10/9/2023 in #help
I want to install styledComponents in my deno project
someone could help me?: deno run -A npm:styled-components -i error: package 'styled-components' did not have a bin property in its package.json Is there any solution to install this library in my deno project?
6 replies