Questions tagged [sveltekit]

[SvelteKit](https://kit.svelte.dev/) is a framework for building fullstack web applications with the Svelte framework.

SvelteKit is a framework for building fullstack web applications with the Svelte framework.

2260 questions
0
votes
1 answer

How to Create my own Svelte Embed Component

Certain platforms like GitBook allow you to insert an embed URL, like https://www.youtube.com/embed/eGUEAvNpz48, and it displays as a component on that website, as seen here: I want to create my own embed component using SvelteKit and have it…
Jacob Tucker
  • 132
  • 7
0
votes
0 answers

`OperationProcessingError: unexpected ID Token "nonce" claim value` using auth.js, sveltekit, and the slack provider

I was following this example: https://github.com/nextauthjs/sveltekit-auth-example, and it worked great. Then, I added the Slack provider to hooks.server.ts: export const handle = SvelteKitAuth({ providers: [ //@ts-expect-error issue…
abendigo
  • 954
  • 1
  • 8
  • 31
0
votes
0 answers

Modify a specific div id

I have this loop in my Sveltekit template: {#each Array(nbr_balanced) as balanced, i}
{/each} Later in the same svelte page I do a api call (this function gets called several times): async function…
0
votes
0 answers

SvelteKit: unable to run build

I want to create a build file for node and run it but I am facing errors on my local machine. I've produced a build file using npm run build. Copied it to another directory with package-lock.json and installed them, and ran npm run preview to…
Abhay Salvi
  • 890
  • 3
  • 15
  • 39
0
votes
1 answer

Is there a way to access a variable from a .svelte file in the sibling .js file?

I'm using svelte-geolocation in +layout.svelte to get the current position.