Closed usman-aziz closed 5 years ago
Hi, @usmanazizgroupdocs
Files in node_modules
folder must not be changed as it's packages folder which means that you will lose your changes once a new or updated package is installed.
Instead, we recommend extending Viewer app component as it explained here and perform UI or any other changes in your custom component files.
Here is a complete example of how you can customize UI
Let me know if this works for you.
@egorovpavel Thanks for sharing the guidelines.
I noticed that if we need to change the content such as tooltips or logo text in the toolbar we can do it by updating template of ViewerAppComponent in
client\node_modules\@groupdocs.examples.angular\viewer\fesm2015\groupdocs.examples.angular-viewer.js
file and the changes are applied. However, there are multiple copies of this file in different subfolders ofviewer
folder (see this). Is it the correct way to just updatefesm2015\groupdocs.examples.angular-viewer.js
file and leave the others?