Community for yuuvis® RAD

+2 votes
by (740 points)

What is the correct way to include own configuration files in a custom client project?

It is recommended to not edit files in the prebuild folder (they are overwritten with every client update), so changing the environment.ts-files seems not to be the right way.

Thanks for help in advance!

1 Answer

+2 votes
by (740 points)

It is not forbidden to edit the files in the prebuild folder, but be aware that these files will be overwritten by an update of the custom client.

It is possible to edit the main.json (folder assets/config) file. But changes are overwritten by an update as well.

The recommended way is to write an own configuration service (see config.srv.ts from core module for template) and provide it to the custom client.

...