Comments (3)
Hi!
I've seen a good example for this in https://github.com/szwacz/electron-boilerplate
An interesting side-effect is that I can get native modules easier with this approach, i.e. modules installed with npm install in /app seem to work with electron. I don't really understand why.
My use-case is pouchdb with leveldb. Even if I compile the code against electron headers, it doesn't seem to be working, pouch selects idb. With the above boilerplate, it works, it finds and uses leveldb.
edit: I now realise that I am probably loading pouch in a weird way, due to pouch not working well with webpack.
from electron-react-boilerplate.
This should be closed, since this is being done in #310
from electron-react-boilerplate.
Sure, electron-builder
is in our roadmap, so eventually this will be done.
from electron-react-boilerplate.
Related Issues (20)
- Great boilerplate!!! But I was trying to use electron-builder to build installers for windows, I am unable to achieve it, can somebody guide me on this?
- Unable to build installers using electron-builder, how to resolve this?
- How to solve this problem with postinstall$ node install.js
- dll renderer webpack error on tiptap npm install
- Can't import child_process
- Removing unnecessary electron languages
- how do i add encryption to my saved file with electron-store
- Issue in package of boilorplate
- Build Electron-React-Boilerplate With Tailwindcss
- Relaunch Electron App
- Code signing issue
- How to debug in VS code? HOT 1
- Cli Truncate Package Missing
- An unhandled rejection has occurred inside Forge: TypeError: Cannot read properties of undefined (reading 'split') HOT 1
- request HOT 1
- React Router NavLink not working HOT 1
- How can I use getMac, address or any other Node Module?
- Passing command-line arguments to electron
- I want to bundle Selenium but WebPack can't find it(?)
- I can not use javascript files by alias reference in the boilerplate project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-react-boilerplate.