DEV Community

Discussion on: Getting started with Electron and Svelte

mey profile image

Hi Johannes,

First, thank you for this article, it allows to get a very compact app compared to other examples I found.

I'd like to make a windows app with saving capability in order to keep its state (kanban like app). I managed to use electron-store with vue in a first try but then I discovered svelte which is a lot more easy to learn.

Unfortunately, I am part of the guys that no not know fully understand electron, node.js,... and I am not able to set up electron-store with svelte. I tried to reference it as I did with vue by simply calling it with "require". "require" is not defined / accessible with svelte template.

Any advice ? Can you help ?

Thank you