aomader/electron-es6-react
Über uns
Minimal demonstration how to use React and ES6 with Electron.
Web- und App-EntwicklungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originalelectron-es6-react
A simple boilerplate app to demonstrate how to use ES6 and React with
Electron. It uses Babel to automatically transpile ES6 and JSX code,
without depending on any package manager besides npm.
How?
The Node and Electron binaries both take a parameter -r that automatically
requires a module before the rest of the code. The npm start script is
modified using this, which registers Babel and loads the entry point main.js.
The renderer entry point index.html does basically the same, but loads the
scripts/main.js file, which renders the views/main.jsx component into the body.
Installation
git clone https://github.com/b52/electron-es6-react.git
cd electron-es6-react
npm install
npm start
Ähnliche Projekte entdecken
Wird geladen…