Repository navigation
Change font for desktop #272
|
Hello there! Does anyone know how to change the font of field desktop. I am trying to More specific in my package-lock.json i have these entries: "node_modules/idai-field-core": { |
Replies: 1 comment 1 reply
|
Hi @nikos-chatzatoglou! Calling "npm install" in the desktop folder directly can lead to problems. Instead, new dependencies should be added in the package.json file. So in your case, you would add this line to "dependencies" in "desktop/package.json":
Then you go to the root directory of the repository and call "npm run bootstrap". This way, the new dependency should be installed correctly. If this doesn't work, you can try deleting the folder "desktop/node_modules" and try again. |
Hi @nikos-chatzatoglou! Calling "npm install" in the desktop folder directly can lead to problems. Instead, new dependencies should be added in the package.json file. So in your case, you would add this line to "dependencies" in "desktop/package.json":
"@fontsource/roboto": "5.1.1",Then you go to the root directory of the repository and call "npm run bootstrap". This way, the new dependency should be installed correctly. If this doesn't work, you can try deleting the folder "desktop/node_modules" and try again.