Skip to content

projektorius96/electron-views-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project name: electron-views-composer

This is and will be publicly available ongoing (living) project, a multi-window GUI prototype primarily aimed towards Vekt.js-light project I also do maintain...

Conventions

  • This repository primarily targets JavaScript, not TypeScript users, thus .mjs extension deliberately is reserved for ESM-first Electron's main process or Node.js environments, respectively.
  • The Views defined under ./views/ path: each path has entry point index.html linked with sourced main.js within its respective index.html counterpart, which unlike main.mjs, the main.js which self-evidently implies is a part of Document Object Model (DOM) under Electron's renderer process, rather than Electron's main process per se.

Development process

Run the following commands on your terminal in ascending order:

  1. npm ci;
  2. npm start instead of a long nodemon --exec npx electron main.mjs command; NOTE: it assumes you have nodemon installed on your machine as a global dependency.

Remarks

Make sure your top-level DOM element for each View instance has its own style.height property set to height:100vh - this will allow adjacent Views to be stacked in a nice one-to-one manner without any visual gaps present!

Known Electron issues


Made with ♥ by projektorius96 [2026]

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks