Last 12 weeks · 0 commits
2 of 6 standards met
Repository: Rich-Harris/svelte-template-electron. Description: A template for building Electron apps with Svelte Stars: 90, Forks: 17. Primary language: TypeScript. Languages: TypeScript (51.5%), JavaScript (24%), HTML (13.7%), CSS (10.7%). Open PRs: 1, open issues: 1. Last activity: 5y ago. Community health: 42%. Top contributors: Rich-Harris.
Hi, Thanks for putting this together. If I clone the repo and upgrade package.json to electron ^9.0.0 and then add the following to App.html it provides the error Any thoughts on how to resolve?
I have succesfully build and run the template. But now I'am trying to make it a litte bit more dynamic with a svelte variable, and it gives me an undefined in the output instead of the value. Down here is the code I wrote in App.html. Also when I change this in App.svelte it doesn't help. I tried splitting the h1 to an component but this doesn't work either. Can you please give me a hint on what I'm doing wrong? Looks lik the svelte magic isn't working let message = 'Hello k...'; h1 { font-family: 'Comic Sans MS'; font-weight: 300; color: green; margin: 2em auto; text-align: center; } {message} world!