This is a simple Neutralinojs template that uses Svelte and Vite.
- Execute this command:
neu create app_name --template amsyarzero/neutralinojs-svelte
cd
into./app_name/svelte-app
- Run
npm install
- Configure aspects of Neutralinojs in
neutralino.config.json
e.g. initial window size, namespace permissions - Add
.svelte
files inside./neutralino-js/svelte-app/src
Command | Description |
---|---|
neu run |
Runs a preview of the app |
neu build |
Builds the app for Windows, macOS, and Linux |
To run with special arguments e.g. launching with element inspector, do:
neu run -- --<arguments>
on other terminalsneu run -- -- --<arguments>
on Powershell (thanks popoklopapa! 🙇🏽♂️)
List of valid arguments can be found here.
- Neutralinojs team
- Ori for her amazing Neutralino Svelte template. Without it, I wouldn't be able to learn and make this
- popoklopapa for the Powershell
neu run
fix, very much appreciated