Files in public/
are copied as-is to the final build output. Any files that should be packaged with the application can be put there.
Files in src/
are processed and transpiled.
Inside src/
, there are:
components
: Reusable UI componentsdatastore
: Datastore for data shared among multiple components. Uses reduxfonts
: Autogenerated fonts; see src/fonts/README.mdnative
: Code interfacing with native (non-web) featuresschema
: Schemas used for input validation and autocompleteview
: UI viewsApp.{css,tsx}
: Root React componentelectronMain.js
: Electron entry pointindex.{css,tsx}
: Index component (will be loaded with the page)registerServiceWorker.js
: Service worker that caches content offline so resources can be accessed on a browser without internet connection