{"repo":"codec-xyz/vtest","free":true,"listed":false,"github":"https://github.com/codec-xyz/vtest","clone":"git clone https://github.com/codec-xyz/vtest.git","description":"Template project with Vite, Typescript, Electron Forge, SvelteKit, Tailwind CSS","language":"TypeScript","stars":21,"topics":["electron","electronforge","nodejs","svelte","tailwind","tailwindcss","template","typescript","vite","sveltejs"],"license":"CC0-1.0","category":"saas-starters-boilerplates","readme_excerpt":"V ite + T ypescript + E lectron Forge + S velteKit + T ailwind CSS Template project with V ite, T ypescript, E lectron Forge, S velteKit, T ailwind CSS [!Note] This template contains numerous comments with explanations and links throughout the source code. [!Note] Typescript will complain in the editor when you first clone the template. When you first run npm run start a .svelte-kit folder will be generated and the errors and warnings should go away. --- This template project consists of two parts... - Example main, preload, and renderer code - A build system Example code The example code is the part that will be bundled with the electron application. It has 3 parts... - Main Electron Node process - Located in src-main - Preload - See Using Preload Scripts - Located in src-renderer purely preferentially but done so since it will execute in the same context as the renderer - Renderer aka SvelteKit - Located in src-renderer SvelteKit building and adaptor-static SvelteKit build outputs code to render your files on a server. These will be located in .svelte-kit/output/ and during npm run start a dev server runs to serve files using this code. During npm run package adaptor-static will then run this same code to make the browser html/css/js files and save them at .vite/renderer/main window/ as specified in svelte.config.js . I recommend you do not use SvelteKit's prerendering for your Electron apps. SvelteKit prerendering will slightly speed up the first load (when you open a wind","default_branch":null,"files":null,"tree":[],"storefront":"/r/codec-xyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codec-xyz/vtest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}