MacFJA / svelte-adapter-neutralino

A SvelteKit adapter to generate a Neutralinojs application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte Adapter for Neutralino

A SvelteKit adapter to generate a Neutralinojs application

Installation

npm install --save-dev @macfja/svelte-adapter-neutralino

Usage

// svelte.config.js
import adapter from "@macfja/svelte-adapter-neutralino"

export default {
    kit: {
        adapter: adapter({
            // default options are shown
            name: "Svelte Kit",
            applicationId: "dev.svelte.kit",
            icon: "favicon.png",
            window: {
                width: 800,
                height: 500,
                minWidth: 400,
                minHeight: 200,
                resizable: true,
                maximize: false,
            },
            output: "build",
            verions: {
                client: "3.1.0",
                binary: "4.2.0",
            },
        }),
    },
}

Contributing

Contributions are welcome. Please open up an issue or create PR if you would like to help out.

Read more in the Contributing file

License

The MIT License (MIT). Please see License File for more information.

About

A SvelteKit adapter to generate a Neutralinojs application

License:MIT License


Languages

Language:JavaScript 100.0%