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
Warning
The software is provided 'as is,' without any warranty of any kind, expressed or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software. It is essential that you carefully read and understand this disclaimer before using this software and its components. If you do not agree with any part of this disclaimer, please refrain from using the software.
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