Skip to content

Template to create a desktop app with Svelte, TailwindCSS, Electron and TypeScript (with electron-updater, electron-reload and electron-builder)

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt
Notifications You must be signed in to change notification settings

el3um4s/memento-svelte-electron-typescript

Folders and files

NameName
Last commit message
Last commit date
Jul 14, 2021
Jan 18, 2022
Jun 17, 2022
Nov 12, 2021
Oct 20, 2021
Jun 24, 2021
Jan 18, 2022
Jun 25, 2021
Jun 24, 2021
Jun 24, 2021
Jun 24, 2021
Jul 15, 2022
Jul 15, 2022
Oct 20, 2021
Jan 18, 2022
Sep 18, 2021
Jan 18, 2022
Jun 24, 2021

Repository files navigation

MEMENTO - Svelte, TailwindCSS, Electron and TypeScript

screenshot-01

Template to create a desktop app with Svelte, TailwindCSS, Electron and TypeScript (with electron-updater, electron-reload and electron-builder)

Get Started

This is a project template for Svelte and Electron apps. It lives at https://github.com/el3um4s/memento-svelte-electron-typescript.

To create a new project based on this template using degit:

npx degit el3um4s/memento-svelte-electron-typescript svelte-app
cd svelte-app

Then install the dependencies with

npm install

Note that you will need to have Node.js installed.

Command

For development purpose:

  • npm run nodemon: auto restart Electron on change
  • npm run dev: auto reload the web page when you change Svelte files

For publish purpose:

  • npm run out:win: create an exe file for Windows
  • npm run publish:win: publish the app on GitHub

For test purpose:

  • npm run test: test the app
  • npm run test:show-trace: open the saved testing trace using Playwright CLI

Notes

I'm blogging about the development process in these posts: