:Shree Ganeshay Namah:
a UI And Resources Manager generated by uc-dev
Core runtime engine for UC-based Electron applications
uc-runtime do
- IPC Handler (seperate main and renderer)
- Manage Resource File Generated by uc-dev
- It works together with:
uc-dev → CLI builder link
uc-controls → UI controls library (if used) link
npm install uc-runtime
uc-runtime is responsible for:
- Installs UserControl and Template Class
- all designer generated by uc-dev is extended by this Usercontrol and Template classes
- these classes has their own usage
- one for to designer dock and second one is repeate ui
- Runtime execution layer
- Main process helpers
- Renderer process core utilities
- Template rendering
- IPC handling
- UC lifecycle management
It separates:
- Main process logic
- Renderer logic
- Shared runtime utilities
uc-dev generates and builds designer files that work on top of uc-runtime.
syntex
<tagName x-from="path to `.uc.html` file" ><!-- elements if usercontrol support/need child elements --></tagName>example use of WinFrame Usercontrol from project uc-controls
<wrapper>
<WinFrame x-name="winFrame1" x-from="uc-controls/WinFrame.uc.html" >
<h1>Hello From Uc Project</h1>
</WinFrame>
</wrapper>as the above you can create your own ui controls and call those like this
- Package Purpose
- uc-dev CLI builder
- uc-runtime Core runtime engine
- uc-controls UI component library
- uc-runtime is built for:
- Modular architecture
- Designer-first workflow
- Clear separation of concerns
- Electron-based desktop applications
- Scalable multi-form systems
ISC
github : https://github.com/pratik2201/uc-runtime.git
A complete step-by-step video guide
🔔 Subscribe to get notified when it’s live:
youtube : soon