Skip to content

GUI modification #867

Answered by theyosh
anhpham140195 asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, that would be a bit hard. Or that would mean you have to create a new gui from scratch.

The GUI is made with svelte framework. So that means no plain javascript code anymore.

If you want to change the GUI, you should first have installed node.js.

Run npm install --force in the root folder to install all the needed libraries.

The GUI code is in the folder gui. When you build a production version of the GUI, it will be placed in the folder public.

Use npm in the root folder to test you changes with: npm run dev. But this works only on the Pi it self by default, which is not powerful enough to do GUI development. And as there is a version conflict in the packages, you need to use the --…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by theyosh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants