You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there some example available around these things:
no typescript, but vanilla javascript?
no webpack (or other JS bundler)?
how to bundle an external node.js module (e.g. fs-extras) into the build?
how to code-sign?
Sorry, if I'm asking for too much - I am also happy to help out, when I understood the workings (I did quite some Electron/Cordova stuff with code-signing and notarizing)...
I think it would be of great benefit, if there was an example which shows how to access QMainWindow properties, Manipulate menu-item text based on certain conditions (e.g. if a checkbox on the Main window is checked, change the name of a menu-item, etc... ), etc...
I - for one - use lots of javascript (daily), but without any bundlers, frameworks, etc... just plain vanilla JS. So I'd really appreciate some vanilla nodegui examples pretty much....
Any chance there's something in sight? (Again - I'd be happy to help adding code to it).
I understand there's always little time, but I think it's worth invested time, because the easier the entry-point is, the more developers will try ;)
@gregpalaci I never thanked you for sharing your react-nodegui-starter... So:
Thanks for sharing!!! Slthough I'm more into Vuejs, it is much cleaner and better to understand as the vue-nodegui-starter (where couldn't even follow what's going on :()
I'm just re-visiting the project, as I find it generally interesting, but most of the examples just don't run properly or are missing important information.
Your react-nodegui-starter is a pretty good starting point in that regard!
The only thing I could not figure out is, how to inspect the DOM - is there something out there to do that?
@tiptronic as far as I know there will be no DOM since it is now "native" The layout engine is "QT" instead of browser / DOM.
I'm not an expert but you could read up a bit on QT5 to see what kind of tooling is available, nodeGUI wraps that framework.
Yes I did that and it seems there is really none, so we have to use a 'best guess' approach (and check CSS in parallel in a browser-window). That works somewhat, but is not very visual.
It took me a while to also find out, it doesn't seem to work with CSS-classes, but only IDs...
@tiptronic For sure remember it won't even be real CSS either, check out tauri.studio/ there's a bit of setup but once you are going you have all your familiar developer tools, real DOM, and CSS. Might be better suited for your needs.
Activity
jswhisperer commentedon Aug 10, 2020
+1 vanilla js
jswhisperer commentedon Sep 17, 2020
@tiptronic https://github.com/gregbenner/-vanillajs-react-mobx-nodegui-starter-/ hope this helps a bit
jswhisperer commentedon Sep 17, 2020
tiptronic commentedon May 12, 2021
@gregpalaci I never thanked you for sharing your react-nodegui-starter... So:
Thanks for sharing!!! Slthough I'm more into Vuejs, it is much cleaner and better to understand as the vue-nodegui-starter (where couldn't even follow what's going on :()
I'm just re-visiting the project, as I find it generally interesting, but most of the examples just don't run properly or are missing important information.
Your react-nodegui-starter is a pretty good starting point in that regard!
The only thing I could not figure out is, how to inspect the DOM - is there something out there to do that?
jswhisperer commentedon May 13, 2021
@tiptronic as far as I know there will be no DOM since it is now "native" The layout engine is "QT" instead of browser / DOM.
I'm not an expert but you could read up a bit on QT5 to see what kind of tooling is available, nodeGUI wraps that framework.
tiptronic commentedon May 16, 2021
Yes I did that and it seems there is really none, so we have to use a 'best guess' approach (and check CSS in parallel in a browser-window). That works somewhat, but is not very visual.
It took me a while to also find out, it doesn't seem to work with CSS-classes, but only IDs...
jswhisperer commentedon May 18, 2021
@tiptronic For sure remember it won't even be real CSS either, check out tauri.studio/ there's a bit of setup but once you are going you have all your familiar developer tools, real DOM, and CSS. Might be better suited for your needs.