Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1001 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 1001 Bytes

Electron Forge + Svelte + TailwindCSS + PurgeCSS + SCSS Starter

Get up and running with 💪 Svelte & ⚡ Electron, with TailwindCSS, PurgeCSS, and SCSS support.

Usage

git clone https://github.com/breadthe/electron-forge-svelte.git my-app
cd my-app

yarn install
yarn start

svelte electron tailwind purgecss scss

Troubleshooting

Sometimes when starting a fresh build, or after adding a new package with yarn/npm, if yarn start refuses to start the Electron app, stop it and run yarn electron-forge start. This should "reset" the build process. Afterwards you should be able to start it with yarn start.

Notes

  • src/index.js - Main electron process.
  • src/svelte.js - Svelte app entrypoint.

Setup Electron with Svelte from scratch. Build cool projects with Electron.