dax89 / electron-sveltekit Goto Github PK
View Code? Open in Web Editor NEWElectron and SvelteKit integration
Electron and SvelteKit integration
Thanks for putting this together. In your package.json you have a start
command that runs svelte-kit start
but I'm not aware of a svelte-kit start
command. Running npx svelte-kit --help
lists the following manual
Usage
$ svelte-kit <command> [options]
Available Commands
dev Start a development server
build Create a production build of your app
preview Serve an already-built app
package Create a package
For more info, run any command with the `--help` flag
$ svelte-kit dev --help
$ svelte-kit build --help
Options
-v, --version Displays current version
-h, --help Displays this message
I tried to run "npm run electron" and I get the following errors:
`[0] ''svelte-kit' is not recognized as an internal or external command,
[0] operable program or batch file.
[1] 'dev'' is not recognized as an internal or external command,
[1] operable program or batch file.
[2] ''electron' is not recognized as an internal or external command,
[2] operable program or batch file.
[0] 'svelte-kit exited with code 1
--> Sending SIGTERM to other processes..
[2] 'electron exited with code 1
--> Sending SIGTERM to other processes..
[1] dev' exited with code 1
--> Sending SIGTERM to other processes..
[3] 'src' is not recognized as an internal or external command,
[3] operable program or batch file.
[3] src/electron.cjs' exited with code 1`
I'm running this in Windows 10. It's working in a Linux laptop.
Hi,
I've got a blank screen when i build the project on macOs 12.2 and node 14/17
Any hint on how to solve that ?
Hey, I added your electron setup to an app im working on and whilst it all works in dev it doesnt work when built.
Is there anything i need to change to get it working with adapter-node?
Thanks!
Thank you for this - awesome !
PR for Vite 3. #7
Hey, I'm quite new to electron. Any advice on how to implement TailwindCSS in this project?
Anyway we can get updated code to use the latest SvelteKit?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.