I have a simple react app. It uses:
- react
- webpack
- redux
- css-modules
Was looking for an easy way to wrap a React app into Electron.
Am trying out webview
Have a simple electron app
It works on OSX but not on Windows 10, Please help.
It opens up the Electron app but nothing is visible in the webview
I have opened devtools in both the Electron renderer process and the webview,
but i do not see any error messages
I have tried:
- electro-forge
- electron and electron-packager
steps to run the app
install the global dependencies:
- install node LTS ie. v6.9.2
- install
electron-forge
with "npm install -g electron-forge"
run the React app:
- git clone https://github.com/deepak/react-todo
- cd react-todo
- npm install
- npm start
- open "http://localhost:3000/todo" and "http://localhost:3000/" on the browser and checks that it works
run the Electron app:
- git clone https://github.com/deepak/electron-webview-todo
- cd electron-webview-todo
- npm install
- npm start (works on OSX but not windows 10)
- we are using
electron-forge
here - try the same with plain Electron at the use-electron-packager-and-not-electron-forge branch