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.
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.
Routing issues with new SvelteKit project
I am new to SvelteKit and teaching myself routing.
How to import private env variables when code is running on server and public env if running on a client
The problem: I have a very similar problem as this question, except I want to use the sveltekit dynamic variables instead of vite. I have an api client ApiClient.ts. I would like to use this ApiClient both on the client-side and on server-side for server side rendering. I have both sveltekit and api running in […]
SvelteKit is not storing cookies when doing a request inside of the `load` function
In my SvelteKit site I do a request to my backend inside of the LayoutServerLoad
function, in +layout.server.ts
. Namely when the site is opened with an ?affiliate_id=bla
query parameter, I want to send this to the backend: