How is Mustache used in Jhipster Lite? #4682
-
Great work on Jhipster Lite! The goal is to integrate Mustache templates into a project called sql-to-jdl I have been contributing to lately. Currently my preliminary work uses mustache.java which is working well. Does Jhipster Lite use a Java or JavaScript implementation of mustache and how is the dependency added to the project? I have been looking into how Mustache is being used in Jhipster Lite, but I cannot find any maven or npm dependency for mustache.java or mustache.js. I tried
and
However, I could find no reference to anything related to mustache. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello, we removed the lib some time ago and we are just using this https://github.com/jhipster/jhipster-lite/blob/main/src/main/java/tech/jhipster/lite/module/domain/file/ArgumentsReplacer.java |
Beta Was this translation helpful? Give feedback.
-
Thanks for the prompt response @DamnClin. I guess I should have done the following...
or
My previous search led me to ArgumentsReplacer.java, but it seemed to simple to do what mustache.java was doing with repeating sections. Now I see there are quite a few options such as TextNeedleBeforeReplacer.java. |
Beta Was this translation helpful? Give feedback.
Hello, we removed the lib some time ago and we are just using this https://github.com/jhipster/jhipster-lite/blob/main/src/main/java/tech/jhipster/lite/module/domain/file/ArgumentsReplacer.java