using Preact per @aganov suggestion
Rewrite per @alxblog suggestion to use proper Preactjs API and lighter css code: use spectre.css instead of bootstrap 4.x
Only compatible with ESP3DLib 3.0 , ESP3D 3.0, grblHAL, ESP3D_TFT 1.0
1 - Install current nodejs LTS (currently using v20.8.0)
node -v
v20.8.0
npm -v
10.2.0
2 - Download all necessary packages in ESP3D-WEBUI directory (repository root)
npm install
in ESP3D-WEBUI directory (repository root)
npm run dev-<system>-<firmware>
- where
<system>
iscnc
(CNC system, laser, spindle..) ,printer
(3D printer),sand
(Sand Table) - where
<firmware>
is :grbl
,grblhal
forcnc
marlin
,marlin-embedded
(esp3dlib),repetier
,smoothieware
forprinter
grbl
forsand
will open http://localhost:8088 which display the webUI using a local test server
in ESP3D-WEBUI directory (repository root)
npm run buildall
Will generate production version for each target and firmware in dist directory
to build specific index.html.gz
npm run <system>-<firmware>
- where
<system>
iscnc
(CNC system, laser, spindle..) ,printer
(3D printer),sand
(Sand Table) - where
<firmware>
is :grbl
,grblhal
forcnc
marlin
,marlin-embedded
(esp3dlib),repetier
,smoothieware
forprinter
grbl
forsand
ESP3D is now on discord https://discord.gg/Z4ujTwE
Go to https://esp3d.io