neutralinojs-svelte Svelte Themes

Neutralinojs Svelte

A Svelte + Vite template for Neutralinojs applications

Neutralinojs × Svelte 🦧

This is a simple Neutralinojs template that uses Svelte and Vite.

How to install

  1. Execute this command: neu create app_name --template amsyarzero/neutralinojs-svelte
  2. cd into ./app_name/svelte-app
  3. Run npm install

How to use

  • Configure aspects of Neutralinojs in neutralino.config.json e.g. initial window size, namespace permissions
  • Add .svelte files inside ./neutralino-js/svelte-app/src

Useful commands

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 terminals
  • neu run -- -- --<arguments> on Powershell (thanks popoklopapa! 🙇🏽‍♂️)

List of valid arguments can be found here.

Special thanks

Top categories

Loading Svelte Themes