Skip to content

A starter template for Electron Forge + Svelte 3 + TailwindCSS + PurgeCSS + SCSS

Notifications You must be signed in to change notification settings

breadthe/electron-forge-svelte

 
 

Repository files navigation

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.

About

A starter template for Electron Forge + Svelte 3 + TailwindCSS + PurgeCSS + SCSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.0%
  • CSS 7.8%
  • SCSS 6.1%
  • Svelte 4.4%
  • HTML 3.7%