Relative Content

Tag Archive for sveltekit

Blotter js in svelte

I’m attempting to integrate blotter.js into my Svelte project but encountering import issues. Has anyone successfully implemented blotter.js in Svelte? If so, could you share your approach and any necessary configurations or workarounds?

How to fake a secure context for Sveltekit development

On my development system, assume it has the name svkitdev, I am developing a Sveltekit 5 application, which I can run with “npm run dev” and access there via http://localhost:5173. But I also want to access it from browsers on mobile phones or tablets. I set the app up by choosing lucia during npx sv screate (and got oslo, lucia being now “only” a learning platform or so), so there is code setting secure cookies.

How to fix Sveltekit build issues

I built an API that uses the canvas module on the server using Sveltekit.
Everything was working properly when I was writing and testing the code.
However, when I perform npm run build, I get the following error message:

Accessing device local storage values in a global store

My app stores user preferences in local storage, and I’m trying to make these values available as a context in my app. I’m stuck because I don’t understand how to set a context from an async function at the highest level of the app in SvelteKit.

Accessing device local storage values in a global store

My app stores user preferences in local storage, and I’m trying to make these values available as a context in my app. I’m stuck because I don’t understand how to set a context from an async function at the highest level of the app in SvelteKit.

Accessing device local storage values in a global store

My app stores user preferences in local storage, and I’m trying to make these values available as a context in my app. I’m stuck because I don’t understand how to set a context from an async function at the highest level of the app in SvelteKit.