Skip to content

combine react and electron,can use this project to develop a electron app with react directly

Notifications You must be signed in to change notification settings

lcg890831/react-electron-quick-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-electron-quick-start

Combine react and electron,can use this project to develop a electron app with react directly

Casue electron don't support ES6/JSX and some new JS syntax and expression,so this project use babel to solve the problem.

All config and npm dependencies are completed,so you can make quick start to develop your react-electron app.

Only 3 step:

  1. download&npm install
  2. write your react component in scripts&import in start.js
  3. npm start

因为electron不支持ES6和react的语法,所以本项目集成了react&electron,使用babel动态编译react语法,以使得可以直接使用react来开发electron应用

使用步骤

  1. 下载&npm install
  2. 在scripts目录下写你自己的react component并在start.js中import
  3. npm start

About

combine react and electron,can use this project to develop a electron app with react directly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published