Files
ESP3D-WEBUI/README.md
2020-08-03 16:17:03 +02:00

1.2 KiB

ESP3D-WEBUI 3.0

using Preact per @aganov suggestion

In alpha stage - ready to test...

Latest development version Development Version GitHub last commit (branch) Travis (.org) branch

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"