Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning data entries to browser window to render #523

Open
awingit opened this issue Jul 19, 2017 · 1 comment
Open

Returning data entries to browser window to render #523

awingit opened this issue Jul 19, 2017 · 1 comment

Comments

@awingit
Copy link

awingit commented Jul 19, 2017

So I am struggling to simple display entries from the database in a browser window. Just a basic setup really. When using NeDB in the main process of electron, then all is fine. I can access an existing .db file and manipulate the data.

However, I cannot figure out how to display those entries in the index.html. I just cannot seem to pass the information between the windows.

So I tried the browser version but cannot seem to access the existing .db file that way.

Is there a basic example to demonstrate how one can keep NeDB in the main process and being able to simply loop through the data and render it in the window?

@JamesMGreene
Copy link
Contributor

JamesMGreene commented Aug 15, 2017

This is an shortcoming with your understanding of the IPC flow that Electron provides, nothing to do with NeDB.

You should review the following Electron docs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants