A template to use GoLang Lorca package to make desktop applications using webview and Svelte for the frontend,
The Svelte Lorca Template is a starter project for building modern cross-platform desktop apps in Go, HTML, and Svelte. It is a fork of the lorca-ts-react-starter project and provides developers with a convenient and efficient way to create desktop applications.
To install the Svelte Lorca Template, follow these steps:
git clone https://github.com/bmw2621/svelte-lorca-template.git <NEWPROJECTNAME>cd <NEWPROJECTNAME>yarnyarn startAdditional scripts are available for different purposes:
yarn dev: Starts the Svelte application in development mode with hot reload.yarn build: Builds the app for production, creating a single executable for the backend Go application.yarn test: Runs Go tests and Jest tests.yarn svelte:test: Runs frontend tests.yarn go:test: Runs backend tests.node ./scripts/setupTypeScript.js: Adds TypeScript support to the frontend project using the included Svelte Template script.The Svelte Lorca Template is a versatile starter project for building cross-platform desktop applications using Go, HTML, and Svelte. It offers a range of features such as easy setup, development and production modes, and seamless integration of Go and Svelte. With the provided installation guide, developers can quickly get started and begin building their own desktop apps.