el3um4s / memento-electron-browser-view

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEMENTO - ELECTRON BROWSER VIEW

screenshot-01

A template to show how to use Browser View in Electron. Based on (memento-svelte-electron-typescript)[https://github.com/el3um4s/memento-svelte-electron-typescript].

Get Started

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

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

npx degit el3um4s/memento-electron-browser-view 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

About

License:MIT License


Languages

Language:TypeScript 53.5%Language:Svelte 29.8%Language:JavaScript 9.0%Language:CSS 5.4%Language:HTML 2.2%