Simple boilerplate for building cross-platform apps with NW.js and SvelteKit. Get started by running locally, then build your app for production.
mkdir my-project && cd my-project
npx degit github:edde746/nwjs-sveltekit-boilerplate
npm install
npm start
First, make sure that the app
options are set to your liking in build.js
.
To build, simply run npm run build -- platform-arch
(example: npm run build -- win-x64
). A list of all available platforms and architechtures can be found in the nw-builder documentation.
If you only want to build the web version of your app, simply run npm run build:web
.