A bare-bones template to use Neutralino.js with Svelte, Typescript, and Vite.
To get started, run
git clone git@github.com:DominicChm/neutralinojs-ts-svelte-template
cd neutralinojs-ts-svelte-template
npm install
npm run dev
Make sure to edit neutralino.config.json
to suit your project! (Especially the CHANGEME
fields!)
To package your app, simply run
npm run build
Executables should now be in the dist
directory.
Generally, static files go in /public
and source files (svelte or ts) go in /src
. Other than that, it's up to you! NOTE: At the time of creation, I couldn't find an updated source of typing for the neutralino client lib.