feat: rename demo widget to lora-manager-widgets and remove demo node

- Update documentation to reflect new widget filename `lora-manager-widgets.js`
- Remove `LoraManagerDemoNode` import and registration from `__init__.py`
- Translate development guide from Chinese to English for broader accessibility
- Clean up obsolete demo references to align with actual widget implementation
This commit is contained in:
Will Miao
2026-01-11 19:08:55 +08:00
parent 3d348900ac
commit 647728b2e1
14 changed files with 668 additions and 6227 deletions

View File

@@ -20,7 +20,7 @@ ComfyUI-Lora-Manager/
├── web/comfyui/ # ComfyUI web directory
│ ├── vue-widgets/ # Compiled Vue widgets (gitignored)
│ │ ├── demo-widget.js # Built JavaScript
│ │ ├── lora-manager-widgets.js # Built JavaScript
│ │ └── assets/ # CSS and other assets
│ └── *.js # Existing vanilla JS widgets
@@ -148,7 +148,7 @@ For the full component library, see [PrimeVue Documentation](https://primevue.or
- Check that Node.js version is 18+ (`node --version`)
### Widget doesn't appear in ComfyUI
- Verify the build completed successfully (`web/comfyui/vue-widgets/demo-widget.js` exists)
- Verify the build completed successfully (`web/comfyui/vue-widgets/lora-manager-widgets.js` exists)
- Check that the Python node is registered in `__init__.py`
- Restart ComfyUI completely (not just refresh browser)
- Check browser console for JavaScript errors