mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 08:30:06 +00:00
23074eb82358bdd9fd4163a4a77a71c96831c2f0
ComfyUI_frontend
Front end of ComfyUI written in TypeScript
The grand migration to TypeScript
This repo is an experiment trying to migrate ComfyUI's front-end code to TypeScript for a better front-end development experience.
Tasks
-
Gradually migrate the code to TypeScript in this repo, while monitoring the change in ComfyUI's front-end code.
-
Figure out a way to reliably embed compiled code to ComfyUI distribution.
- It can be a bot regularly pulling the new changes in the front-end repo and submitting them to the main repo. (Chrome does a similar process for Chrome devtools, which is hosted in a separate repo.)
Development
- Run
npm installto install the necessary packages - Start local ComfyUI backend at
localhost:8188 - Run
npm run devto start the dev server
Test
npm run buildto build the front endcd tests-uinpm ito install all test dependenciesnpm run test:generateto fetchdata/object_info.jsonnpm run testto execute all unit tests.
Description
Languages
TypeScript
80%
Vue
18.5%
CSS
0.7%
Python
0.3%
Shell
0.2%
Other
0.2%