Desktop apps with Vue NodeGui
Shubham Zanwar
Agenda
1. What is NodeGui? πŸ€”
2. NodeGui demo 😲
3. What is Vue NodeGui? πŸ’š
4. Vue NodeGui demo πŸš€
5. Features 🌸
6. Internals πŸ”©
7. QnA ❗️❓
NodeGui πŸ”₯
A tool to create cross-platform native desktop applications using nodeJS.
https://nodegui.org
Layout support with
facebook/yoga
Styling support with
css-like Qt stylesheets
NodeGui demo 😁
Let's create a window πŸ–Ό
First meaningful app: Counter πŸ”„
Familiar? 😲
NodeGui
DOM
Vue NodeGui πŸ’š
A library to create cross-platform native desktop applications using VueJS.
Vue3 renderer that combines with nodegui widgets
So what?

😏

🀩

- Render truly native desktop widgets while using a very familiar API
- Create layouts and style components; again, while using a familiar API
- Be CPU and Memory efficient
- Leverage all the advantages of the existing JS ecosystem - Debugging, bundling, etc
- Have a declarative approach to building applications
Vue NodeGui demo πŸš€
Back to basics: counter πŸ”„
Vue NodeGui :: Styling πŸ’…
Vue NodeGui :: Events 🚨
Vue NodeGui :: Debugging 🐞
For debugging, you can use any standard solution for debugging nodeJS applications
- Chrome inspecter
- VS Code Debugger
Coming soon: An integration with Vue dev tools
Vue NodeGui :: Hot-reloading πŸ•
- Possible thanks to webpack
Uses the HotModuleReplacementPlugin() from webpack4
Vue NodeGui :: Documentation πŸ“š
Internals πŸ”©
NodeGui
​APIs
QPushButton
QWidget
QLabel
Custom Vue3 
renderer
vn-button
vn-view
vn-text
NodeGui internals πŸ”©
JS Code that you write
NodeJS runtime (qode)
NodeGui
NodeGui plugins
Qt5 libraries
Thank you!
Links

Build native desktop applications with vue-nodegui

By Shubham Zanwar

Build native desktop applications with vue-nodegui

  • 127