You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add programmatic token to automate editing browser.html
In Spring Data REST, we need a more suitable way to tweak browser.html and inject our custom form and JSON Editor. Having a token to search on is quite handy.
Updated the docs, sharing how others can use this as well.
NOTE: To load a custom JavaScript module AND a custom HTML template, you will probably need to create a customized version of `browser.html`.
155
-
156
154
NOTE: The HAL Browser uses a global `HAL` object, so there is no need to deal with JavaScript packages.
157
155
156
+
=== Hooking in custom code
157
+
158
+
To load a custom JavaScript module AND a custom HTML template, you will probably need to create a customized version of `browser.html`. Manually editing the file might be good enough. Just look for the comment at the end of `browser.html`.
159
+
160
+
But if you need something a little more sophisticated, like hooking into your build system, you can do a token search like this:
0 commit comments