- Notifications
You must be signed in to change notification settings - Fork0
vazra/electron-webpack-typescript-react
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Production Ready Boilerplate template with electron-webpack, react & typescript.
This boilerplate is based on
electron-webpack
, the template comes packed with...- Use of
webpack-dev-server
for development - HMR for both
renderer
andmain
processes - Use of
babel-preset-env
that is automatically configured based on yourelectron
version - Use of
electron-builder
to package and build a distributable electron application
Make sure to check out
electron-webpack
's documentation for more details.- Use of
- A React app which is similar toCRA is added as the renderer.
This is a template repository, you can create repo by using "Use this Template" option from GitHub. Or can simply fork/clone this repository, install dependencies, and get started on your application.
The use of theyarn package manager isstrongly recommended, as opposed to usingnpm
.
# Create new repo with https://github.com/vazra/electron-webpack-typescript-react/generate# or create a directory of your choice, and copy template using curlmkdir new-electron-react-app&&cd new-electron-react-appcurl -fsSL https://github.com/vazra/electron-webpack-typescript-react/archive/master.tar.gz| tar -xz --strip-components 1# or copy template using git clonegit clone https://github.com/vazra/electron-webpack-typescript-react.gitcd electron-webpack-quick-startrm -rf .git# install dependenciesyarn
# run application in development modeyarn dev# compile source code and create webpack outputyarn compile# `yarn compile` & create build with electron-builderyarn dist# `yarn compile` & create unpacked build with electron-builderyarn dist:dir
If you are looking to build electron apps with native database, there is a fork of this repo available atelectron-react-ts-rxdb-realm-sqlite which implements native databases. 👍
For any bugs or requests create issueshere
Pull requests are also invited. 🚀
About
Production Ready Boilerplate template with electron-webpack, typescript & react.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors13
Uh oh!
There was an error while loading.Please reload this page.