mirror of
https://github.com/luc-github/ESP3D-WEBUI.git
synced 2026-03-06 08:04:05 +01:00
d336ded151a695aefbc2381cc408a5153c080da3
Fix Timeout message not translated Fix change target FW is not immediatly rendered Add updateFW support in test server Add JSON as verbose output Fix upload progress bar to show 100% before displaying next message
ESP3D-WEBUI 3.0
using Preact per @aganov suggestion
Not started, in alpha stage - be patient...
Setup development tools
1 - Install current nodejs LTS (currently using v10.15.3) 2 - Download all necessary packages
npm install
Start dev server
npm run dev
will open http://localhost:3000 Back end query server is localhost:8080, websocket server is localhost:81
Build index.html.gz to /dist folder
npm run build
Code beautify with prettier
use pluggin or cli
npm install --global prettier
the config file is .prettierrc
a batch is available if you need : prettyfiles.bat, it is just automating the following commands:
prettier --config .prettierrc --write "{src//,webpack//}.js"
prettier --config .prettierrc --write src/**/.html"
Description
Languages
JavaScript
83.7%
HTML
14.4%
SCSS
1.8%
Python
0.1%